@@ -97,7 +97,7 @@ func TestEnsurePod_ArangoDB_AntiAffinity(t *testing.T) {
9797 VolumeMounts : []core.VolumeMount {
9898 k8sutil .ArangodVolumeMount (),
9999 },
100- LivenessProbe : createTestLivenessProbe (httpProbe , false , "" , shared .ArangoPort ),
100+ LivenessProbe : createTestLivenessProbe (httpProbe , false , "" , shared .ServerPortName ),
101101 ImagePullPolicy : core .PullIfNotPresent ,
102102 SecurityContext : securityContext .NewSecurityContext (),
103103 },
@@ -159,7 +159,7 @@ func TestEnsurePod_ArangoDB_AntiAffinity(t *testing.T) {
159159 VolumeMounts : []core.VolumeMount {
160160 k8sutil .ArangodVolumeMount (),
161161 },
162- LivenessProbe : createTestLivenessProbe (httpProbe , false , "" , shared .ArangoPort ),
162+ LivenessProbe : createTestLivenessProbe (httpProbe , false , "" , shared .ServerPortName ),
163163 ImagePullPolicy : core .PullIfNotPresent ,
164164 SecurityContext : securityContext .NewSecurityContext (),
165165 },
@@ -224,7 +224,7 @@ func TestEnsurePod_ArangoDB_AntiAffinity(t *testing.T) {
224224 VolumeMounts : []core.VolumeMount {
225225 k8sutil .ArangodVolumeMount (),
226226 },
227- LivenessProbe : createTestLivenessProbe (httpProbe , false , "" , shared .ArangoPort ),
227+ LivenessProbe : createTestLivenessProbe (httpProbe , false , "" , shared .ServerPortName ),
228228 ImagePullPolicy : core .PullIfNotPresent ,
229229 SecurityContext : securityContext .NewSecurityContext (),
230230 },
@@ -294,7 +294,7 @@ func TestEnsurePod_ArangoDB_AntiAffinity(t *testing.T) {
294294 VolumeMounts : []core.VolumeMount {
295295 k8sutil .ArangodVolumeMount (),
296296 },
297- LivenessProbe : createTestLivenessProbe (httpProbe , false , "" , shared .ArangoPort ),
297+ LivenessProbe : createTestLivenessProbe (httpProbe , false , "" , shared .ServerPortName ),
298298 ImagePullPolicy : core .PullIfNotPresent ,
299299 SecurityContext : securityContext .NewSecurityContext (),
300300 },
@@ -373,7 +373,7 @@ func TestEnsurePod_ArangoDB_Affinity(t *testing.T) {
373373 VolumeMounts : []core.VolumeMount {
374374 k8sutil .ArangodVolumeMount (),
375375 },
376- LivenessProbe : createTestLivenessProbe (httpProbe , false , "" , shared .ArangoPort ),
376+ LivenessProbe : createTestLivenessProbe (httpProbe , false , "" , shared .ServerPortName ),
377377 ImagePullPolicy : core .PullIfNotPresent ,
378378 SecurityContext : securityContext .NewSecurityContext (),
379379 },
@@ -438,7 +438,7 @@ func TestEnsurePod_ArangoDB_Affinity(t *testing.T) {
438438 VolumeMounts : []core.VolumeMount {
439439 k8sutil .ArangodVolumeMount (),
440440 },
441- LivenessProbe : createTestLivenessProbe (httpProbe , false , "" , shared .ArangoPort ),
441+ LivenessProbe : createTestLivenessProbe (httpProbe , false , "" , shared .ServerPortName ),
442442 ImagePullPolicy : core .PullIfNotPresent ,
443443 SecurityContext : securityContext .NewSecurityContext (),
444444 },
@@ -506,7 +506,7 @@ func TestEnsurePod_ArangoDB_Affinity(t *testing.T) {
506506 VolumeMounts : []core.VolumeMount {
507507 k8sutil .ArangodVolumeMount (),
508508 },
509- LivenessProbe : createTestLivenessProbe (httpProbe , false , "" , shared .ArangoPort ),
509+ LivenessProbe : createTestLivenessProbe (httpProbe , false , "" , shared .ServerPortName ),
510510 ImagePullPolicy : core .PullIfNotPresent ,
511511 SecurityContext : securityContext .NewSecurityContext (),
512512 },
@@ -579,7 +579,7 @@ func TestEnsurePod_ArangoDB_Affinity(t *testing.T) {
579579 VolumeMounts : []core.VolumeMount {
580580 k8sutil .ArangodVolumeMount (),
581581 },
582- LivenessProbe : createTestLivenessProbe (httpProbe , false , "" , shared .ArangoPort ),
582+ LivenessProbe : createTestLivenessProbe (httpProbe , false , "" , shared .ServerPortName ),
583583 ImagePullPolicy : core .PullIfNotPresent ,
584584 SecurityContext : securityContext .NewSecurityContext (),
585585 },
@@ -660,7 +660,7 @@ func TestEnsurePod_ArangoDB_NodeAffinity(t *testing.T) {
660660 VolumeMounts : []core.VolumeMount {
661661 k8sutil .ArangodVolumeMount (),
662662 },
663- LivenessProbe : createTestLivenessProbe (httpProbe , false , "" , shared .ArangoPort ),
663+ LivenessProbe : createTestLivenessProbe (httpProbe , false , "" , shared .ServerPortName ),
664664 ImagePullPolicy : core .PullIfNotPresent ,
665665 SecurityContext : securityContext .NewSecurityContext (),
666666 },
0 commit comments