mirror of
https://github.com/zrepl/zrepl.git
synced 2025-02-07 05:59:15 +01:00
rpc/dataconn/timeoutconn: tests: relax deadline in timeout tests
This commit is contained in:
parent
d89afe58d4
commit
b4abebce00
@ -117,7 +117,7 @@ func TestNoPartialReadsDueToDeadline(t *testing.T) {
|
||||
// 50ms for the second read, 100ms after that one for the deadline
|
||||
// allow for some jitter
|
||||
assert.True(t, readDuration > 140*time.Millisecond)
|
||||
assert.True(t, readDuration < 160*time.Millisecond)
|
||||
assert.True(t, readDuration < 200*time.Millisecond)
|
||||
}()
|
||||
|
||||
wg.Wait()
|
||||
|
Loading…
Reference in New Issue
Block a user