@@ -284,6 +284,17 @@ func Test_reconcileDeployment(t *testing.T) {
284
284
Protocol : corev1 .ProtocolTCP ,
285
285
},
286
286
},
287
+ LivenessProbe : & corev1.Probe {
288
+ Handler : corev1.Handler {
289
+ HTTPGet : & corev1.HTTPGetAction {
290
+ Path : "/live" ,
291
+ Scheme : corev1 .URISchemeHTTP ,
292
+ Port : intstr .FromInt ((* ElPort )),
293
+ },
294
+ },
295
+ PeriodSeconds : int32 (* PeriodSeconds ),
296
+ FailureThreshold : int32 (* FailureThreshold ),
297
+ },
287
298
Args : []string {
288
299
"-el-name" , eventListenerName ,
289
300
"-el-namespace" , namespace ,
@@ -541,6 +552,17 @@ func TestReconcile(t *testing.T) {
541
552
ContainerPort : int32 (* ElPort ),
542
553
Protocol : corev1 .ProtocolTCP ,
543
554
}},
555
+ LivenessProbe : & corev1.Probe {
556
+ Handler : corev1.Handler {
557
+ HTTPGet : & corev1.HTTPGetAction {
558
+ Path : "/live" ,
559
+ Scheme : corev1 .URISchemeHTTP ,
560
+ Port : intstr .FromInt ((* ElPort )),
561
+ },
562
+ },
563
+ PeriodSeconds : int32 (* PeriodSeconds ),
564
+ FailureThreshold : int32 (* FailureThreshold ),
565
+ },
544
566
Args : []string {
545
567
"-el-name" , eventListenerName ,
546
568
"-el-namespace" , namespace ,
0 commit comments