|
@@ -536,7 +536,7 @@ func testLayers(t *testing.T, seed int64, testTimeout bool) {
|
|
|
if testTimeout {
|
|
if testTimeout {
|
|
|
select {
|
|
select {
|
|
|
case <-ctx.Done():
|
|
case <-ctx.Done():
|
|
|
- case <-time.After(timeout + timeout/10):
|
|
|
|
|
|
|
+ case <-time.After(timeout + 100*time.Millisecond):
|
|
|
errorf("ctx should have timed out")
|
|
errorf("ctx should have timed out")
|
|
|
}
|
|
}
|
|
|
checkValues("after timeout")
|
|
checkValues("after timeout")
|