[asterisk-commits] mmichelson: branch 12 r400362 - /branches/12/tests/test_cel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Oct 3 09:56:31 CDT 2013


Author: mmichelson
Date: Thu Oct  3 09:56:30 2013
New Revision: 400362

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=400362
Log:
Get rid of uses of stasis_topic_wait()


Modified:
    branches/12/tests/test_cel.c

Modified: branches/12/tests/test_cel.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/tests/test_cel.c?view=diff&rev=400362&r1=400361&r2=400362
==============================================================================
--- branches/12/tests/test_cel.c (original)
+++ branches/12/tests/test_cel.c Thu Oct  3 09:56:30 2013
@@ -122,8 +122,6 @@
 
 #define BRIDGE_EXIT_EVENT(channel, bridge) do { \
 	RAII_VAR(struct ast_str *, peer_str, NULL, ast_free); \
-	stasis_topic_wait(ast_channel_topic_all()); \
-	stasis_topic_wait(ast_bridge_topic_all()); \
 	peer_str = test_cel_generate_peer_str(channel, bridge); \
 	ast_test_validate(test, peer_str != NULL); \
 	BRIDGE_EXIT_EVENT_PEER(channel, bridge, ast_str_buffer(peer_str)); \
@@ -139,8 +137,6 @@
 #define BRIDGE_EXIT_SNAPSHOT(channel, bridge) do { \
 	RAII_VAR(struct ast_json *, extra, NULL, ast_json_unref); \
 	RAII_VAR(struct ast_str *, peer_str, NULL, ast_free); \
-	stasis_topic_wait(ast_channel_topic_all()); \
-	stasis_topic_wait(ast_bridge_topic_all()); \
 	peer_str = test_cel_generate_peer_str_snapshot(channel, bridge); \
 	ast_test_validate(test, peer_str != NULL); \
 	extra = ast_json_pack("{s: s}", "bridge_id", bridge->uniqueid); \
@@ -157,8 +153,6 @@
 
 #define BRIDGE_ENTER_EVENT(channel, bridge) do { \
 	RAII_VAR(struct ast_str *, peer_str, NULL, ast_free); \
-	stasis_topic_wait(ast_channel_topic_all()); \
-	stasis_topic_wait(ast_bridge_topic_all()); \
 	peer_str = test_cel_generate_peer_str(channel, bridge); \
 	ast_test_validate(test, peer_str != NULL); \
 	BRIDGE_ENTER_EVENT_PEER(channel, bridge, ast_str_buffer(peer_str)); \




More information about the asterisk-commits mailing list