Skip to content

Commit ffe558f

Browse files
authored
boxcli: skip shell tests due to timeout (#208)
The shell tests are taking even longer now, presumably due to how long it takes to install the Nix packages. Skip them in CI until we can figure out a way to make them run faster and more reliably.
1 parent b5d56f6 commit ffe558f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

boxcli/shell_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ func testShellHello(t *testing.T, name string) {
1919
// Skip this test if the required shell isn't installed, unless we're
2020
// running in CI.
2121
ci, _ := strconv.ParseBool(os.Getenv("CI"))
22+
if ci {
23+
t.Skip("Skipping because this test times out in CI.")
24+
}
2225
if _, err := exec.LookPath(name); err != nil && !ci {
2326
t.Skipf("Skipping because %s isn't installed or in your PATH.", name)
2427
}

0 commit comments

Comments
 (0)