e2e: set liveness probe timeout seconds for conformance test

This commit is contained in:
fusida 2023-09-21 17:15:45 +08:00
parent 1e862b0fec
commit 9fb77db9b9

View File

@ -857,6 +857,7 @@ var _ = SIGDescribe("[NodeAlphaFeature:SidecarContainers][Feature:SidecarContain
livenessProbe := &v1.Probe{ livenessProbe := &v1.Probe{
ProbeHandler: httpGetHandler("/healthz", 8080), ProbeHandler: httpGetHandler("/healthz", 8080),
InitialDelaySeconds: 15, InitialDelaySeconds: 15,
TimeoutSeconds: 5,
FailureThreshold: 1, FailureThreshold: 1,
} }
pod := livenessSidecarPodSpec(f.Namespace.Name, nil, livenessProbe) pod := livenessSidecarPodSpec(f.Namespace.Name, nil, livenessProbe)
@ -875,6 +876,7 @@ var _ = SIGDescribe("[NodeAlphaFeature:SidecarContainers][Feature:SidecarContain
livenessProbe := &v1.Probe{ livenessProbe := &v1.Probe{
ProbeHandler: tcpSocketHandler(8080), ProbeHandler: tcpSocketHandler(8080),
InitialDelaySeconds: 15, InitialDelaySeconds: 15,
TimeoutSeconds: 5,
FailureThreshold: 1, FailureThreshold: 1,
} }
pod := livenessSidecarPodSpec(f.Namespace.Name, nil, livenessProbe) pod := livenessSidecarPodSpec(f.Namespace.Name, nil, livenessProbe)