[asterisk-commits] rmudgett: branch 1.8 r323990 - /branches/1.8/tests/test_event.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 16 13:12:38 CDT 2011


Author: rmudgett
Date: Thu Jun 16 13:12:32 2011
New Revision: 323990

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=323990
Log:
The test_event unit test is occasionally failing.

Wait for the special posted event to process before adding a new
subscription.

Modified:
    branches/1.8/tests/test_event.c

Modified: branches/1.8/tests/test_event.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/tests/test_event.c?view=diff&rev=323990&r1=323989&r2=323990
==============================================================================
--- branches/1.8/tests/test_event.c (original)
+++ branches/1.8/tests/test_event.c Thu Jun 16 13:12:32 2011
@@ -721,6 +721,9 @@
 		goto return_cleanup;
 	}
 
+	ast_test_status_update(test, "Sleeping a few seconds to allow event propagation...\n");
+	sleep(3);
+
 	/*
 	 * Subscription TEST_SUBS_CUSTOM_ANY:
 	 *  - allocate normally




More information about the asterisk-commits mailing list