testing: increase sleep time to fix flaky arm64 test

This commit is contained in:
Jarek Kowalski committed 2020-09-18 08:25:17 -07:00
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)