mirror of
https://github.com/rclone/rclone.git
synced 2026-03-26 03:12:36 -04:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user