Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd7e6eb7

Browse files
authored
chore(cli): fix test flake when running in coder workspace (#17604)
This test was failing inside a Coder workspace due to`CODER_AGENT_TOKEN` being set.
1 parent7a1e56b commitd7e6eb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎cli/exp_mcp_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ func TestExpMcpServer(t *testing.T) {
158158
//nolint:tparallel,paralleltest
159159
funcTestExpMcpConfigureClaudeCode(t*testing.T) {
160160
t.Run("NoReportTaskWhenNoAgentToken",func(t*testing.T) {
161+
t.Setenv("CODER_AGENT_TOKEN","")
161162
ctx:=testutil.Context(t,testutil.WaitShort)
162163
cancelCtx,cancel:=context.WithCancel(ctx)
163164
t.Cleanup(cancel)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp