Merge pull request #3964 from zhsj/flaky-metastore-test

snapshots: fix flaky TestMetastore
This commit is contained in:
Derek McGowan 2020-01-15 11:05:24 -08:00 committed by GitHub
commit b8797016bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -261,7 +261,7 @@ var cmpSnapshotInfo = cmp.FilterPath(
// actual value should be within a few seconds of now
now := time.Now()
delta := now.Sub(actual)
threshold := 10 * time.Second
threshold := 30 * time.Second
return delta > -threshold && delta < threshold
}))