diff --git a/testing/orchestrator/hooks_lifecycle_deep_matrix_test.go b/testing/orchestrator/hooks_lifecycle_deep_matrix_test.go index 34aa390..4667c7e 100644 --- a/testing/orchestrator/hooks_lifecycle_deep_matrix_test.go +++ b/testing/orchestrator/hooks_lifecycle_deep_matrix_test.go @@ -126,7 +126,7 @@ func TestLifecycleDeepFailureMatrix(t *testing.T) { t.Run("startup-cooldown-reread-intent-error", func(t *testing.T) { cfg := lifecycleFastConfig(t) cfg.Startup.RequireNodeInventoryReach = false - cfg.Startup.ShutdownCooldownSeconds = 1 + cfg.Startup.ShutdownCooldownSeconds = 5 if err := state.WriteIntent(cfg.State.IntentPath, state.Intent{ State: state.IntentShutdownComplete, Reason: "recent", @@ -136,7 +136,7 @@ func TestLifecycleDeepFailureMatrix(t *testing.T) { t.Fatalf("seed cooldown intent: %v", err) } go func(intentPath string) { - time.Sleep(150 * time.Millisecond) + time.Sleep(2 * time.Second) _ = os.Remove(intentPath) _ = os.Mkdir(intentPath, 0o755) }(cfg.State.IntentPath) @@ -150,7 +150,7 @@ func TestLifecycleDeepFailureMatrix(t *testing.T) { t.Run("startup-cooldown-shutdown-became-active", func(t *testing.T) { cfg := lifecycleFastConfig(t) cfg.Startup.RequireNodeInventoryReach = false - cfg.Startup.ShutdownCooldownSeconds = 1 + cfg.Startup.ShutdownCooldownSeconds = 5 if err := state.WriteIntent(cfg.State.IntentPath, state.Intent{ State: state.IntentShutdownComplete, Reason: "recent", @@ -160,7 +160,7 @@ func TestLifecycleDeepFailureMatrix(t *testing.T) { t.Fatalf("seed cooldown intent: %v", err) } go func(intentPath string) { - time.Sleep(150 * time.Millisecond) + time.Sleep(2 * time.Second) _ = state.WriteIntent(intentPath, state.Intent{ State: state.IntentShuttingDown, Reason: "peer-shutdown",