mirror of
https://github.com/rclone/rclone.git
synced 2026-01-06 02:23:24 +00:00
test: Don't run unreliable tests on CI #4171
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/rclone/rclone/fstest/testy"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
@@ -215,7 +216,12 @@ func TestPool(t *testing.T) {
|
||||
} {
|
||||
t.Run(test.name, func(t *testing.T) {
|
||||
t.Run("GetPut", func(t *testing.T) { testGetPut(t, test.useMmap, test.unreliable) })
|
||||
t.Run("Flusher", func(t *testing.T) { testFlusher(t, test.useMmap, test.unreliable) })
|
||||
t.Run("Flusher", func(t *testing.T) {
|
||||
if test.name == "canFail" {
|
||||
testy.SkipUnreliable(t) // fails regularly on macOS
|
||||
}
|
||||
testFlusher(t, test.useMmap, test.unreliable)
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user