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:
@@ -361,7 +361,7 @@ var _ = SIGDescribe("GracefulNodeShutdown [Serial] [NodeFeature:GracefulNodeShut
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
pollInterval = 1 * time.Second
|
pollInterval = 1 * time.Second
|
||||||
podStatusUpdateTimeout = 10 * time.Second
|
podStatusUpdateTimeout = 30 * time.Second
|
||||||
priorityClassesCreateTimeout = 10 * time.Second
|
priorityClassesCreateTimeout = 10 * time.Second
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -464,18 +464,18 @@ var _ = SIGDescribe("GracefulNodeShutdown [Serial] [NodeFeature:GracefulNodeShut
|
|||||||
|
|
||||||
period5Name,
|
period5Name,
|
||||||
periodC5Name,
|
periodC5Name,
|
||||||
period5Name,
|
periodB5Name,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
period5Name,
|
period5Name,
|
||||||
periodC5Name,
|
periodC5Name,
|
||||||
period5Name,
|
periodB5Name,
|
||||||
periodA5Name,
|
periodA5Name,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
period5Name,
|
period5Name,
|
||||||
periodC5Name,
|
periodC5Name,
|
||||||
period5Name,
|
periodB5Name,
|
||||||
periodA5Name,
|
periodA5Name,
|
||||||
periodCritical5Name,
|
periodCritical5Name,
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user