Skip to content

Commit

Permalink
[artemiscloud#683] fixed unit test issue due to code conflict issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric84626 committed Nov 5, 2023
1 parent 373d9c5 commit de4a3d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion controllers/activemqartemis_reconciler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,9 @@ func TestNewPodTemplateSpecForCR_IncludesTopologySpreadConstraints(t *testing.T)
}

func TestNewPodTemplateSpecForCR_IncludesContainerSecurityContext(t *testing.T) {
reconciler := &ActiveMQArtemisReconcilerImpl{}
reconciler := &ActiveMQArtemisReconcilerImpl{
log: ctrl.Log.WithName("test"),
}

securityContext := &v1.SecurityContext{RunAsNonRoot: utilpointer.Bool(false)}

Expand Down

0 comments on commit de4a3d8

Please sign in to comment.