mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 02:44:59 +00:00
bump timeout on overlapping write requests test
At 50ms, we see sporadic failures in CI. So much for "this should only need a couple milliseconds". Bumped timeout to avoid that. The challenge here is that we have some tests which *want* to hit the timeout to confirm that we aren't allowing things we shouldn't. But we don't want the test to hang forever. But we want to be sure it is actually stuck and not just being slow...
This commit is contained in:
parent
ebd0fa85fa
commit
f1a68f8a82
1 changed files with 1 additions and 1 deletions
|
|
@ -400,7 +400,7 @@ func testOverlappingWriteRequests(t *testing.T, write overlappingWriteReqs) erro
|
|||
}
|
||||
t.Fatalf("running reqs: %v", err)
|
||||
}
|
||||
case <-time.After(50 * time.Millisecond):
|
||||
case <-time.After(250 * time.Millisecond):
|
||||
if !write.shouldError {
|
||||
// Only log this if we didn't expect an error.
|
||||
t.Logf("write requests (%d):", len(write.reqs))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue