diff --git a/tests/functionaltests/test_muc.c b/tests/functionaltests/test_muc.c index f95aec77..a48692fe 100644 --- a/tests/functionaltests/test_muc.c +++ b/tests/functionaltests/test_muc.c @@ -146,9 +146,10 @@ shows_history_message(void **state) "" "" ); - sleep(2); + prof_timeout(10); assert_true(prof_output_regex("testoccupant:.*an old message")); + prof_timeout_reset(); } void