aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-01-28 13:13:36 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2020-01-28 13:18:36 +0100
commit7f8e0502e2b5692441fb8c281ef5556172591883 (patch)
tree1dc70e9e13ef3e4e57a6f2dacf0fb4da7681c61f /tests
parent6326e8ff85a176edd5235f6e2e718e7577cfacd6 (diff)
stream: Add new WAIT_RECONNECT cli state
It's not really needed right now from logic point of view, since we reused NONE for that. But it makes logging and logic clearer, and will make it easier if we decide to move it to FSMs at a later point in time. Other state value_string names are also modified with its whitespace removed since anyway we'd need to change them to match WAIT_RECONNECT length. Let's drop the space because imho it's not that useful and anyway if we move to FSMs at some point then we won't have them anyway. Change-Id: I7b9a6da87081c418b0d14bab5f34369c5eca6fe8
Diffstat (limited to 'tests')
-rw-r--r--tests/stream/stream_test.err8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/stream/stream_test.err b/tests/stream/stream_test.err
index 04bfcfe..69a0b85 100644
--- a/tests/stream/stream_test.err
+++ b/tests/stream/stream_test.err
@@ -12,8 +12,8 @@
{2.000006} autoreconnecting test step 6 [client OK, server OK], FD reg 1
{2.000007} autoreconnecting test step 5 [client OK, server OK], FD reg 1
-[ CONNECTED] osmo_stream_cli_recv(): connection closed with srv
-[ NONE] osmo_stream_cli_reconnect(): retrying in 9 seconds...
+[CONNECTED] osmo_stream_cli_recv(): connection closed with srv
+[WAIT_RECONNECT] osmo_stream_cli_reconnect(): retrying in 9 seconds...
{11.000008} autoreconnecting test step 4 [client OK, server OK], FD reg 0
@@ -37,7 +37,7 @@ connection closed with srv
{11.000017} non-reconnecting test step 2 [client OK, server OK], FD reg 1
{11.000018} non-reconnecting test step 1 [client OK, server OK], FD reg 1
-[ CONNECTED] osmo_stream_cli_recv(): connection closed with srv
-[ NONE] osmo_stream_cli_reconnect(): not reconnecting, disabled.
+[CONNECTED] osmo_stream_cli_recv(): connection closed with srv
+[NONE] osmo_stream_cli_reconnect(): not reconnecting, disabled.
{20.000019} non-reconnecting test step 0 [client OK, server OK], FD reg 0