test(ananke): stabilize startup cooldown matrix
This commit is contained in:
parent
483adeedd1
commit
7284eaf5a2
@ -125,6 +125,7 @@ func TestLifecycleDeepFailureMatrix(t *testing.T) {
|
|||||||
|
|
||||||
t.Run("startup-cooldown-reread-intent-error", func(t *testing.T) {
|
t.Run("startup-cooldown-reread-intent-error", func(t *testing.T) {
|
||||||
cfg := lifecycleFastConfig(t)
|
cfg := lifecycleFastConfig(t)
|
||||||
|
cfg.Startup.RequireNodeInventoryReach = false
|
||||||
cfg.Startup.ShutdownCooldownSeconds = 1
|
cfg.Startup.ShutdownCooldownSeconds = 1
|
||||||
if err := state.WriteIntent(cfg.State.IntentPath, state.Intent{
|
if err := state.WriteIntent(cfg.State.IntentPath, state.Intent{
|
||||||
State: state.IntentShutdownComplete,
|
State: state.IntentShutdownComplete,
|
||||||
@ -148,6 +149,7 @@ func TestLifecycleDeepFailureMatrix(t *testing.T) {
|
|||||||
|
|
||||||
t.Run("startup-cooldown-shutdown-became-active", func(t *testing.T) {
|
t.Run("startup-cooldown-shutdown-became-active", func(t *testing.T) {
|
||||||
cfg := lifecycleFastConfig(t)
|
cfg := lifecycleFastConfig(t)
|
||||||
|
cfg.Startup.RequireNodeInventoryReach = false
|
||||||
cfg.Startup.ShutdownCooldownSeconds = 1
|
cfg.Startup.ShutdownCooldownSeconds = 1
|
||||||
if err := state.WriteIntent(cfg.State.IntentPath, state.Intent{
|
if err := state.WriteIntent(cfg.State.IntentPath, state.Intent{
|
||||||
State: state.IntentShutdownComplete,
|
State: state.IntentShutdownComplete,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user