@@ -14,7 +14,7 @@ use std::time::Duration;
1414use tokio:: time:: { sleep, Instant } ;
1515
1616pub const TEST_TIMEOUT : Duration = Duration :: from_secs ( 10 ) ;
17- pub const RECONNECT_WAIT_TIMEOUT : Duration = Duration :: from_secs ( 15 ) ;
17+ pub const RECONNECT_WAIT_TIMEOUT : Duration = Duration :: from_secs ( 30 ) ;
1818
1919fn reconnect_test_timeouts ( ) -> KalamLinkTimeouts {
2020 KalamLinkTimeouts {
@@ -23,14 +23,15 @@ fn reconnect_test_timeouts() -> KalamLinkTimeouts {
2323 // suite) do not time out before the in-process isolated server finishes
2424 // the WebSocket handshake. When the TCP proxy is paused, connections
2525 // fail immediately regardless of this value.
26- connection_timeout : Duration :: from_secs ( 10 ) ,
26+ connection_timeout : Duration :: from_secs ( 15 ) ,
2727 receive_timeout : Duration :: from_secs ( 5 ) ,
2828 send_timeout : Duration :: from_secs ( 2 ) ,
29- // Reconnect involves auth + resubscribe handshakes. Keep these high
30- // enough for a loaded debug build, but do not inflate the overall test
31- // wall-clock timeout; the outer test timeout remains the guardrail.
32- subscribe_timeout : Duration :: from_secs ( 5 ) ,
33- auth_timeout : Duration :: from_secs ( 5 ) ,
29+ // Reconnect involves auth + resubscribe handshakes. CI full-suite runs
30+ // regularly push the isolated server beyond 5s here, so keep the
31+ // handshake budget above that while the outer test timeout remains the
32+ // main guardrail.
33+ subscribe_timeout : Duration :: from_secs ( 10 ) ,
34+ auth_timeout : Duration :: from_secs ( 10 ) ,
3435 initial_data_timeout : Duration :: from_secs ( 30 ) ,
3536 idle_timeout : Duration :: ZERO ,
3637 keepalive_interval : Duration :: from_secs ( 1 ) ,
0 commit comments