Skip to content

Commit

Permalink
fix another edge case
Browse files Browse the repository at this point in the history
  • Loading branch information
Vectorrent committed Jun 11, 2024
1 parent a8ae34b commit 84e225d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_p2p_daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async def test_daemon_killed_on_del():

@pytest.mark.asyncio
async def test_startup_error_message():
with pytest.raises(P2PDaemonError, match=r"(?i)Failed to connect to bootstrap peers"):
with pytest.raises(P2PDaemonError, match=r"(?i)Failed to connect to bootstrap peers|Daemon failed to start"):
await P2P.create(
initial_peers=[f"/ip4/127.0.0.1/tcp/{get_free_port()}/p2p/QmdaK4LUeQaKhqSFPRu9N7MvXUEWDxWwtCvPrS444tCgd1"]
)
Expand Down

0 comments on commit 84e225d

Please sign in to comment.