test-new-trickle: No need to be connected to receive data
authorOlivier Crête <olivier.crete@collabora.com>
Fri, 22 May 2020 15:17:28 +0000 (11:17 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Fri, 22 May 2020 15:17:28 +0000 (11:17 -0400)
tests/test-new-trickle.c

index 03044e2..ac3c026 100644 (file)
@@ -642,7 +642,7 @@ static void bad_candidate_test(NiceAgent *lagent,NiceAgent *ragent)
   g_assert (lagent_candidate_gathering_done);
 
   g_assert_cmpint (global_lagent_state, >=, NICE_COMPONENT_STATE_CONNECTED);
-  g_assert_cmpint (global_ragent_state, >=, NICE_COMPONENT_STATE_CONNECTED);
+  g_assert_cmpint (global_ragent_state, >=, NICE_COMPONENT_STATE_CONNECTING);
 
   cleanup (lagent, ragent);
 }