Skip to content
Snippets Groups Projects
Commit f945c6a2 authored by Mark Michelson's avatar Mark Michelson
Browse files

Get rid of uses of stasis_topic_wait()

........

Merged revisions 400362 from http://svn.asterisk.org/svn/asterisk/branches/12


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@400364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent ee21eee7
No related branches found
No related tags found
No related merge requests found
......@@ -122,8 +122,6 @@ static void do_sleep(void)
#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 @@ static void do_sleep(void)
#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 @@ static void do_sleep(void)
#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)); \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment