Skip to content

Commit

Permalink
Increase acceptable timeout in testQueryTimeout (#1809)
Browse files Browse the repository at this point in the history
  • Loading branch information
David-Engel authored Apr 21, 2022
1 parent 55019b1 commit f9e988c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ public void testQueryTimeout() throws SQLException {
m.put("queryTimeout", "10");
m.put("loginTimeout", "65535");
m.put("connectRetryCount", "1");
timeoutVariations(m, 12000, Optional.empty());
// The timeout happens in < 10s about 55% of the time and < 12s ~95% of the time in pipelines.
// Using 14s to ensure we don't needlessly fail for the last ~5%.
timeoutVariations(m, 14000, Optional.empty());
}

/*
Expand Down

0 comments on commit f9e988c

Please sign in to comment.