Skip to content

Commit

Permalink
Add sleep to reduce test flakiness
Browse files Browse the repository at this point in the history
  • Loading branch information
fhunleth committed May 20, 2021
1 parent 2daa2df commit 75a0ad2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/vintage_net_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ defmodule VintageNetTest do
])

Application.start(:vintage_net)

# Loading of configurations is async and sometimes fails without short sleep
Process.sleep(10)
end)

# Restore the configuration and persistance state to the original way
Expand Down

0 comments on commit 75a0ad2

Please sign in to comment.