mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
feat(cli/ssh): implement wait options and deprecate no-wait (#7894)
Fixes #7768 Refs #7893
This commit is contained in:
committed by
GitHub
parent
b2324325fa
commit
94aa9be33a
@ -140,7 +140,7 @@ func TestAgent_StartupTimeout(t *testing.T) {
|
||||
},
|
||||
FetchInterval: time.Millisecond,
|
||||
WarnInterval: time.Millisecond,
|
||||
NoWait: false,
|
||||
Wait: true,
|
||||
})
|
||||
return err
|
||||
},
|
||||
@ -199,7 +199,7 @@ func TestAgent_StartErrorExit(t *testing.T) {
|
||||
},
|
||||
FetchInterval: time.Millisecond,
|
||||
WarnInterval: 60 * time.Second,
|
||||
NoWait: false,
|
||||
Wait: true,
|
||||
})
|
||||
return err
|
||||
},
|
||||
@ -255,7 +255,7 @@ func TestAgent_NoWait(t *testing.T) {
|
||||
},
|
||||
FetchInterval: time.Millisecond,
|
||||
WarnInterval: time.Second,
|
||||
NoWait: true,
|
||||
Wait: false,
|
||||
})
|
||||
return err
|
||||
},
|
||||
@ -325,7 +325,7 @@ func TestAgent_StartupScriptBehaviorNonBlocking(t *testing.T) {
|
||||
},
|
||||
FetchInterval: time.Millisecond,
|
||||
WarnInterval: time.Second,
|
||||
NoWait: false,
|
||||
Wait: true,
|
||||
})
|
||||
return err
|
||||
},
|
||||
|
Reference in New Issue
Block a user