rpc/dataconn/timeoutconn: tests: relax deadline in timeout tests

This commit is contained in:
Christian Schwarz
2020-05-18 19:45:38 +02:00
parent d89afe58d4
commit b4abebce00
+1 -1
View File
@@ -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()