reader_SUITE: Increase timer in expect_publish() to 5 seconds

This reduces the risk of test failures.
This commit is contained in:
Jean-Sébastien Pédron 2017-08-11 12:27:22 +02:00
parent e683048145
commit 8a0d88cf1b
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ expect_publishes(_Topic, []) -> ok;
expect_publishes(Topic, [Payload|Rest]) ->
receive
{publish, Topic, Payload} -> expect_publishes(Topic, Rest)
after 500 ->
after 5000 ->
throw({publish_not_delivered, Payload})
end.