gitannex: skip e2e tests on macOS CI to avoid timeout

The TestEndToEnd tests consistently time out after 10 minutes on
macOS CI runners. Skip them on macOS when running in CI.
This commit is contained in:
Nick Craig-Wood
2026-03-06 11:21:05 +00:00
parent e11a066e00
commit c172172c2e

View File

@@ -16,6 +16,7 @@ import (
"github.com/rclone/rclone/fs"
"github.com/rclone/rclone/fstest"
"github.com/rclone/rclone/fstest/testy"
"github.com/rclone/rclone/lib/buildinfo"
)
@@ -189,6 +190,10 @@ func skipE2eTestIfNecessary(t *testing.T) {
t.Skip("Skipping because fstest remote was specified.")
}
if runtime.GOOS == "darwin" && testy.CI() {
t.Skip("Skipping on macOS CI - tests frequently time out")
}
// TODO: Support e2e tests on Windows. Need to evaluate the semantics of the
// HOME and PATH environment variables.
switch runtime.GOOS {