Skip to content

Commit

Permalink
Modify unit test to ensure value is set
Browse files Browse the repository at this point in the history
  • Loading branch information
burmanm committed May 14, 2024
1 parent 8a9f44d commit 2bffea7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/reconciliation/construct_statefulset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ func Test_newStatefulSetForCassandraDatacenterWithAdditionalVolumes(t *testing.T
assert.Equal(t, 1, len(got.Spec.Template.Spec.InitContainers[1].VolumeMounts))
assert.Equal(t, "server-config", got.Spec.Template.Spec.InitContainers[1].VolumeMounts[0].Name)
assert.Equal(t, "/config", got.Spec.Template.Spec.InitContainers[1].VolumeMounts[0].MountPath)
assert.Equal(t, int32(5), got.Spec.MinReadySeconds)
}
}

Expand Down

0 comments on commit 2bffea7

Please sign in to comment.