Commit 366f274
Fix flaky test
The `odbc-bridge` crashes with SIGSEGV when handling 25 concurrent
requests simultaneously (each UNION ALL branch opens a separate
HTTP connection to the bridge). The crash occurs in the thread pool
when `ParallelFormattingOutputFormat` tries to spawn formatting
threads for each concurrent request, causing resource exhaustion.
After the crash, remaining connections get "Connection refused"
and the query fails.
Use `assert_eq_with_retry` (already used elsewhere in this test file)
to retry the query. On retry, `startBridgeSync` detects the dead
bridge and restarts it.
Closes #92521
https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=93983&sha=fbe65318fd2687eb5640e14df6cd5cba1455cada&name_0=PR&name_1=Integration%20tests%20%28amd_binary%2C%203%2F5%29
Co-Authored-By: Claude Opus 4.6 <[email protected]>test_many_connections in test_odbc_interaction
1 parent 125ef11 commit 366f274
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
957 | 957 | | |
958 | 958 | | |
959 | 959 | | |
960 | | - | |
| 960 | + | |
961 | 961 | | |
962 | 962 | | |
963 | 963 | | |
| |||
0 commit comments