mirror of https://github.com/status-im/consul.git
Shifts off a gran boundary to help make test less flaky.
This commit is contained in:
parent
f31856c1b7
commit
c46612f691
|
@ -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