Skip to content

Commit

Permalink
tests: increased timeout headroom in query timeout test
Browse files Browse the repository at this point in the history
  • Loading branch information
dahankzter authored and mmatczuk committed Oct 12, 2018
1 parent e259225 commit ea1cb17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ func TestQueryTimeout(t *testing.T) {
if err != ErrTimeoutNoResponse {
t.Fatalf("expected to get %v for timeout got %v", ErrTimeoutNoResponse, err)
}
case <-time.After(10*time.Millisecond + db.cfg.Timeout):
case <-time.After(100*time.Millisecond + db.cfg.Timeout):
// ensure that the query goroutines have been scheduled
t.Fatalf("query did not timeout after %v", db.cfg.Timeout)
}
Expand Down

0 comments on commit ea1cb17

Please sign in to comment.