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

Commitb2b3edf

Browse files
test(codersdk/toolsdk): skipcoder_workspace_bash tool test on windows (#19351)
Fixes flakes on the nightly-gauntlet like:https://github.com/coder/coder/actions/runs/16955654896since there's no `bash` on windows...```=== Failed=== FAIL: codersdk/toolsdk (0.00s)PASSThe following tools were not tested: - coder_workspace_bashPlease ensure that all tools are tested using testTool().If you just added a new tool, please add a test for it.NOTE: if you just ran an individual test, this is expected.FAILgithub.com/coder/coder/v2/codersdk/toolsdk4.185s```
1 parentc6d62e2 commitb2b3edf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎codersdk/toolsdk/toolsdk_test.go‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,10 @@ func TestMain(m *testing.M) {
665665
varuntested []string
666666
for_,tool:=rangetoolsdk.All {
667667
iftested,ok:=testedTools.Load(tool.Name);!ok||!tested.(bool) {
668+
// Test is skipped on Windows
669+
ifruntime.GOOS=="windows"&&tool.Name=="coder_workspace_bash" {
670+
continue
671+
}
668672
untested=append(untested,tool.Name)
669673
}
670674
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp