test: Fix node e2e shutdown test flake

Bump the timeout as the previous timeout was sometimes too short,
resulting in the pod status update not sent. Also, fixed a typo in
previous refactor.

Signed-off-by: David Porter <david@porter.me>
This commit is contained in:
David Porter 2023-03-06 15:38:45 -08:00
parent 44909771d9
commit d3214226de

View File

@ -361,7 +361,7 @@ var _ = SIGDescribe("GracefulNodeShutdown [Serial] [NodeFeature:GracefulNodeShut
const (
pollInterval = 1 * time.Second
podStatusUpdateTimeout = 10 * time.Second
podStatusUpdateTimeout = 30 * time.Second
priorityClassesCreateTimeout = 10 * time.Second
)
@ -464,18 +464,18 @@ var _ = SIGDescribe("GracefulNodeShutdown [Serial] [NodeFeature:GracefulNodeShut
period5Name,
periodC5Name,
period5Name,
periodB5Name,
},
{
period5Name,
periodC5Name,
period5Name,
periodB5Name,
periodA5Name,
},
{
period5Name,
periodC5Name,
period5Name,
periodB5Name,
periodA5Name,
periodCritical5Name,
},