aboutsummaryrefslogtreecommitdiff
path: root/tests/test_gnunet_chat_lobby.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_gnunet_chat_lobby.c')
-rw-r--r--tests/test_gnunet_chat_lobby.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/test_gnunet_chat_lobby.c b/tests/test_gnunet_chat_lobby.c
index 8f079ed..53ef9e7 100644
--- a/tests/test_gnunet_chat_lobby.c
+++ b/tests/test_gnunet_chat_lobby.c
@@ -175,7 +175,9 @@ on_gnunet_chat_lobby_join_open(void *cls,
175 175
176 GNUNET_CHAT_lobby_join(chat, uri); 176 GNUNET_CHAT_lobby_join(chat, uri);
177 177
178 GNUNET_SCHEDULER_add_now( 178 GNUNET_SCHEDULER_add_at_with_priority(
179 GNUNET_TIME_absolute_get(),
180 GNUNET_SCHEDULER_PRIORITY_IDLE,
179 on_gnunet_chat_lobby_join_task, 181 on_gnunet_chat_lobby_join_task,
180 chat 182 chat
181 ); 183 );
@@ -244,9 +246,9 @@ call_gnunet_chat_lobby_join(const struct GNUNET_CONFIGURATION_Handle *cfg)
244 246
245CREATE_GNUNET_TEST(test_gnunet_chat_lobby_join, call_gnunet_chat_lobby_join) 247CREATE_GNUNET_TEST(test_gnunet_chat_lobby_join, call_gnunet_chat_lobby_join)
246 248
247START_SUITE(handle_suite, "Lobby") 249START_SUITE(lobby_suite, "Lobby")
248ADD_TEST_TO_SUITE(test_gnunet_chat_lobby_base, "Open/Close") 250ADD_TEST_TO_SUITE(test_gnunet_chat_lobby_base, "Open/Close")
249ADD_TEST_TO_SUITE(test_gnunet_chat_lobby_join, "Join") 251ADD_TEST_TO_SUITE(test_gnunet_chat_lobby_join, "Join")
250END_SUITE 252END_SUITE
251 253
252MAIN_SUITE(handle_suite, CK_NORMAL) 254MAIN_SUITE(lobby_suite, CK_NORMAL)