[Pkg-telepathy-commits] [libnice] 122/265: tests: Fix test-restart to only quit on state changes

Simon McVittie smcv at debian.org
Wed May 14 12:04:59 UTC 2014


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian
in repository libnice.

commit f08083c8b5c65be0950990e488de4fb16714af44
Author: Philip Withnall <philip.withnall at collabora.co.uk>
Date:   Wed Jan 22 12:36:33 2014 +0000

    tests: Fix test-restart to only quit on state changes
    
    Previously, there was a race between receiving the data packets and
    changing state to READY, which would cause one of the final assertions
    to fail.
---
 tests/test-restart.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/test-restart.c b/tests/test-restart.c
index 425f825..8f8fa8d 100644
--- a/tests/test-restart.c
+++ b/tests/test-restart.c
@@ -355,7 +355,6 @@ static int run_restart_test (NiceAgent *lagent, NiceAgent *ragent, NiceAddress *
   global_lagent_ibr_received = FALSE;
   global_ragent_ibr_received = FALSE;
   global_components_ready = 0;
-  global_ragent_read_exit = 32;
 
   /* step: exchange remote candidates */
   cdes.component_id = NICE_COMPONENT_TYPE_RTP;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/libnice.git



More information about the Pkg-telepathy-commits mailing list