Commit 56498e3
tests: fix flaky SSL test by increasing connect timeout and retry budget
The routes_visible() polling function in TestSslThroughNlb creates a new
TestCluster with SSL on every retry attempt. Under resource pressure
(--smp 2 --memory 2048M shared across 3 nodes), the SSL handshake plus
CQL negotiation can exceed the default 5-second connect_timeout, causing
intermittent OperationTimedOut failures.
Fix by passing connect_timeout=30 to TestCluster (matching the generous
timeout recommended for slow-starting clusters) and increasing the
wait_until_not_raised parameters from (0.5, 10) to (1, 30), consistent
with other wait_until_not_raised calls in this file (lines 773, 855).1 parent 92aa669 commit 56498e3
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1059 | 1059 | | |
1060 | 1060 | | |
1061 | 1061 | | |
1062 | | - | |
| 1062 | + | |
1063 | 1063 | | |
1064 | 1064 | | |
1065 | 1065 | | |
| |||
1071 | 1071 | | |
1072 | 1072 | | |
1073 | 1073 | | |
1074 | | - | |
| 1074 | + | |
1075 | 1075 | | |
1076 | 1076 | | |
1077 | 1077 | | |
| |||
0 commit comments