diff options
Diffstat (limited to 'tests/test_gnunet_chat_lobby.c')
-rw-r--r-- | tests/test_gnunet_chat_lobby.c | 8 |
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 | ||
245 | CREATE_GNUNET_TEST(test_gnunet_chat_lobby_join, call_gnunet_chat_lobby_join) | 247 | CREATE_GNUNET_TEST(test_gnunet_chat_lobby_join, call_gnunet_chat_lobby_join) |
246 | 248 | ||
247 | START_SUITE(handle_suite, "Lobby") | 249 | START_SUITE(lobby_suite, "Lobby") |
248 | ADD_TEST_TO_SUITE(test_gnunet_chat_lobby_base, "Open/Close") | 250 | ADD_TEST_TO_SUITE(test_gnunet_chat_lobby_base, "Open/Close") |
249 | ADD_TEST_TO_SUITE(test_gnunet_chat_lobby_join, "Join") | 251 | ADD_TEST_TO_SUITE(test_gnunet_chat_lobby_join, "Join") |
250 | END_SUITE | 252 | END_SUITE |
251 | 253 | ||
252 | MAIN_SUITE(handle_suite, CK_NORMAL) | 254 | MAIN_SUITE(lobby_suite, CK_NORMAL) |