insert isupport-clear : +1
log 1 $ connection_state set to: []
log , $ DISCONNECTED
+× reconnect
+> /reconnect
+insert connecting : +1
+× disconnect-with-retry
+insert disconnecting : +1
+log 1 $ will retry connecting in 1 seconds
×
# to prepare first test, initiate connected state
log 1 $ connection_state set to: [abc def ghi]
insert disconnecting : +1
-# to prepare next test, get back to connected state
+# test ERROR regex (non-)matches
> /window 1
-> /reconnect
-insert connecting : +1
-
-# test "timed out)" ERROR handling
+insert reconnect : +1
+loggedservermsg 0 1 < ERROR :Closing link: (this should not match)
+log 1 $ connection_state set to: [Closing link: (this should not match)]
+insert disconnecting : +1
+insert reconnect : +1
loggedservermsg 0 1 < ERROR :Closing link: (Connection timed out)
log 1 $ connection_state set to: [Closing link: (Connection timed out)]
-insert disconnecting : +1
-log 1 $ will retry connecting in 1 seconds
+insert disconnect-with-retry : +1
+insert reconnect : +1
+loggedservermsg 0 1 < ERROR :closing Link: (connection timed out)
+log 1 $ connection_state set to: [closing Link: (connection timed out)]
+insert disconnect-with-retry : +1
+insert reconnect : +1
+loggedservermsg 0 1 < ERROR :Closing link: (Ping timeout: 240 seconds)
+log 1 $ connection_state set to: [Closing link: (Ping timeout: 240 seconds)]
+insert disconnect-with-retry : +1