You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert.Assert(t, statefulSet!=nil, "statefulSet should not be nil")
131
+
assert.Assert(t, len(statefulSet.Spec.Template.Spec.InitContainers) ==1, "init container should be 1 but got %d", len(statefulSet.Spec.Template.Spec.InitContainers))
132
+
assert.Assert(t, statefulSet.Spec.Template.Spec.InitContainers[0].Name=="downloader", "init container name should be downloader but got %s", statefulSet.Spec.Template.Spec.InitContainers[0].Name)
assert.Assert(t, len(downloaderCommands) ==3, "downloader commands should be 3 but got %d", len(downloaderCommands))
136
+
assert.Assert(t, len(functionCommands) ==3, "function commands should be 3 but got %d", len(functionCommands))
137
+
assert.Assert(t, len(statefulSet.Spec.Template.Spec.InitContainers[0].VolumeMounts) ==1, "volume mounts should be 1 but got %d", len(statefulSet.Spec.Template.Spec.InitContainers[0].VolumeMounts))
138
+
assert.Assert(t, len(statefulSet.Spec.Template.Spec.Containers[0].VolumeMounts) ==1, "volume mounts should be 1 but got %d", len(statefulSet.Spec.Template.Spec.Containers[0].VolumeMounts))
assert.Assert(t, downloadVolumeMount.Name=="downloader-volume", "volume mount name should be download-volume but got %s", downloadVolumeMount.Name)
142
+
assert.Assert(t, downloadVolumeMount.MountPath=="/pulsar/download", "volume mount path should be /pulsar/download but got %s", downloadVolumeMount.MountPath)
0 commit comments