aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2011-06-16 18:13:01 +0000
committerrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2011-06-16 18:13:01 +0000
commitf81499e93954a8a4ca7993374e10398b063f4eab (patch)
tree3bc83313aee1a06660c3a4c2a8a935dab7e3c675 /tests
parentb205ccdbc93432d093bb86fef3c9a2f17a803805 (diff)
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: http://svn.digium.com/svn/asterisk/trunk@323991 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'tests')
-rw-r--r--tests/test_event.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_event.c b/tests/test_event.c
index bc84b1857..e6f345133 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