Skip to content

Commit

Permalink
fix flaky test_privacy on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
qstokkink committed Jun 26, 2024
1 parent 7a19323 commit 7f6da29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/setup_transfer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ void wait_for_port(int const port)
}
s.connect(tcp::endpoint(make_address("127.0.0.1")
, std::uint16_t(port)), ec);
if (ec == boost::system::errc::connection_refused)
if (ec)
{
if (i == 100)
{
Expand Down

0 comments on commit 7f6da29

Please sign in to comment.