rclone/fs: parallelize tests

This commit is contained in:
Michael Eischer
2026-06-20 22:30:13 +02:00
parent c6a064b68b
commit 8f00b335b4
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -34,6 +34,7 @@ func findRclone(t testing.TB) {
}
func TestBackendRclone(t *testing.T) {
t.Parallel()
defer func() {
if t.Skipped() {
rtest.SkipDisallowed(t, "restic/backend/rclone.TestBackendRclone")
+1
View File
@@ -12,6 +12,7 @@ import (
// restic should detect rclone exiting.
func TestRcloneExit(t *testing.T) {
t.Parallel()
dir := rtest.TempDir(t)
cfg := NewConfig()
cfg.Remote = dir
+1
View File
@@ -652,6 +652,7 @@ func TestPrepareVolumeName(t *testing.T) {
for _, tc := range testCases {
t.Run(tc.name, func(t *testing.T) {
t.Parallel()
isEASupported, err := checkAndStoreEASupport(tc.path)
test.OK(t, err)
test.Equals(t, tc.expectedEASupported, isEASupported)