reader_SUITE: Increase timer in expect_publish() to 5 seconds
This reduces the risk of test failures.
This commit is contained in:
parent
e683048145
commit
8a0d88cf1b
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue