From 12a65f73b0aba7262ff981013a0953b3a0210965 Mon Sep 17 00:00:00 2001 From: Rohan Garg Date: Wed, 4 Apr 2012 20:12:38 +0530 Subject: [PATCH] Fix test-dribble The ragent state can be either NICE_COMPONENT_CONNECTED or NICE_COMPONENT_READY --- tests/test-dribble.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-dribble.c b/tests/test-dribble.c index bf5bd92..f385315 100644 --- a/tests/test-dribble.c +++ b/tests/test-dribble.c @@ -381,7 +381,7 @@ int main (void) nice_agent_remove_stream (ragent, rs_id); priv_print_global_status (); g_assert (global_lagent_state == NICE_COMPONENT_STATE_READY); - g_assert (global_ragent_state == NICE_COMPONENT_STATE_READY); + g_assert (global_ragent_state >= NICE_COMPONENT_STATE_CONNECTED); /* note: verify that correct number of local candidates were reported */ g_assert (global_lagent_cands == 1); g_assert (global_ragent_cands == 1); -- 2.11.4.GIT