From: Richard Mudgett Date: Thu, 16 Jun 2011 18:13:01 +0000 (+0000) Subject: Merged revisions 323990 via svnmerge from X-Git-Tag: 11.0.0-beta1~1457 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ab0c2cf44187b593cfc0be645a1f2b8b1f3089cb;p=thirdparty%2Fasterisk.git 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. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@323991 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/tests/test_event.c b/tests/test_event.c index bc84b18571..e6f345133b 100644 --- a/tests/test_event.c +++ b/tests/test_event.c @@ -721,6 +721,9 @@ AST_TEST_DEFINE(event_sub_test) 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