[asterisk-commits] rmudgett: trunk r323991 - in /trunk: ./ tests/test_event.c

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


Author: rmudgett
Date: Thu Jun 16 13:13:01 2011
New Revision: 323991

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=323991
Log:
Merged revisions 323990 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r323990 | rmudgett | 2011-06-16 13:12:32 -0500 (Thu, 16 Jun 2011) | 5 lines
  
  The test_event unit test is occasionally failing.
  
  Wait for the special posted event to process before adding a new
  subscription.
........

Modified:
    trunk/   (props changed)
    trunk/tests/test_event.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: trunk/tests/test_event.c
URL: http://svnview.digium.com/svn/asterisk/trunk/tests/test_event.c?view=diff&rev=323991&r1=323990&r2=323991
==============================================================================
--- trunk/tests/test_event.c (original)
+++ trunk/tests/test_event.c Thu Jun 16 13:13:01 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