Skip to content

Commit

Permalink
Fix some racy tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrudel committed Nov 24, 2023
1 parent 4b46024 commit e3f0518
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/thousand_island/server_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ defmodule ThousandIsland.ServerTest do
cacertfile: Path.join(__DIR__, "../support/ca.pem")
)

Process.sleep(100)
Process.sleep(500)

ThousandIsland.stop(server_pid)

Expand Down Expand Up @@ -409,7 +409,6 @@ defmodule ThousandIsland.ServerTest do
]
)

# Negotiation failures seem to take longer
Process.sleep(500)

ThousandIsland.stop(server_pid)
Expand Down

0 comments on commit e3f0518

Please sign in to comment.