mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat(cli): show information about --wait=no for ssh (#13847)
Fixes #11923
This commit is contained in:
@@ -226,6 +226,7 @@ func TestAgent(t *testing.T) {
|
||||
},
|
||||
want: []string{
|
||||
"⧗ Running workspace agent startup scripts",
|
||||
"ℹ︎ To connect immediately, reconnect with --wait=no or CODER_SSH_WAIT=no, see --help for more information.",
|
||||
"testing: Hello world",
|
||||
"Bye now",
|
||||
"✔ Running workspace agent startup scripts",
|
||||
@@ -255,6 +256,7 @@ func TestAgent(t *testing.T) {
|
||||
},
|
||||
want: []string{
|
||||
"⧗ Running workspace agent startup scripts",
|
||||
"ℹ︎ To connect immediately, reconnect with --wait=no or CODER_SSH_WAIT=no, see --help for more information.",
|
||||
"Hello world",
|
||||
"✘ Running workspace agent startup scripts",
|
||||
"Warning: A startup script exited with an error and your workspace may be incomplete.",
|
||||
@@ -306,6 +308,7 @@ func TestAgent(t *testing.T) {
|
||||
},
|
||||
want: []string{
|
||||
"⧗ Running workspace agent startup scripts",
|
||||
"ℹ︎ To connect immediately, reconnect with --wait=no or CODER_SSH_WAIT=no, see --help for more information.",
|
||||
"Hello world",
|
||||
"✔ Running workspace agent startup scripts",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user