8000 refactor(agent): update agentcontainers api initialization by mafredri · Pull Request #17600 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

refactor(agent): update agentcontainers api initialization #17600

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Apr 29, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix test^2
  • Loading branch information
mafredri committed Apr 29, 2025
commit 6580f35be80678134d3bf6da1c11b9689a438ef8
10 changes: 2 additions & 8 deletions cli/ssh_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2096,15 +2096,9 @@ func TestSSH_Container(t *testing.T) {

inv, root := clitest.New(t, "ssh", workspace.Name, "-c", uuid.NewString())
clitest.SetupConfig(t, client, root)
ptty := ptytest.New(t).Attach(inv)

cmdDone := tGo(t, func() {
err := inv.WithContext(ctx).Run()
assert.NoError(t, err)
})

ptty.ExpectMatch("The agent dev containers feature is experimental and not enabled by default.")
<-cmdDone
err := inv.WithContext(ctx).Run()
require.ErrorContains(t, err, "The agent dev containers feature is experimental and not enabled by default.")
})
}

Expand Down
Loading
0