mirror of
https://github.com/kopia/kopia.git
synced 2026-10-24 07:08:41 -04:00
testing: increase sleep time to fix flaky arm64 test
This commit is contained in:
1 parent
7f61dc6637
commit
98a2bc6f6d
1 file changed
+2
-2
@@ -74,9 +74,9 @@ func TestFileStorageTouch(t *testing.T) {
|
||||
|
||||
fs := r.(*fsStorage)
|
||||
assertNoError(t, fs.PutBlob(ctx, t1, gather.FromSlice([]byte{1})))
|
||||
time.Sleep(1 * time.Second) // sleep a bit to accommodate Apple filesystems with low timestamp resolution
|
||||
time.Sleep(2 * time.Second) // sleep a bit to accommodate Apple filesystems with low timestamp resolution
|
||||
assertNoError(t, fs.PutBlob(ctx, t2, gather.FromSlice([]byte{1})))
|
||||
time.Sleep(1 * time.Second)
|
||||
time.Sleep(2 * time.Second)
|
||||
assertNoError(t, fs.PutBlob(ctx, t3, gather.FromSlice([]byte{1})))
|
||||
|
||||
verifyBlobTimestampOrder(t, fs, t1, t2, t3)
|
||||
|
||||
Reference in new issue
Block a user