Shifts off a gran boundary to help make test less flaky.
This commit is contained in:
parent
757e353334
commit
d45c2a01f1
|
@ -38,7 +38,7 @@ func TestTombstoneGC(t *testing.T) {
|
||||||
start := time.Now()
|
start := time.Now()
|
||||||
gc.Hint(100)
|
gc.Hint(100)
|
||||||
|
|
||||||
time.Sleep(2 * gran)
|
time.Sleep(2*gran + gran/3)
|
||||||
start2 := time.Now()
|
start2 := time.Now()
|
||||||
gc.Hint(120)
|
gc.Hint(120)
|
||||||
gc.Hint(125)
|
gc.Hint(125)
|
||||||
|
|
Loading…
Reference in New Issue