Skip to content

Commit

Permalink
Add flaky pytest mark
Browse files Browse the repository at this point in the history
  • Loading branch information
Askaholic committed May 21, 2023
1 parent b74768f commit b3c9ecf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/integration_tests/test_game.py
Original file line number Diff line number Diff line change
Expand Up @@ -1039,6 +1039,7 @@ async def test_galactic_war_1v1_game_ended_broadcasts_army_results(
await asyncio.wait_for(mq_proto_all.read_message(), timeout=10)


@pytest.mark.flaky
@pytest.mark.rabbitmq
@fast_forward(30)
async def test_galactic_war_2v1_game_ended_broadcasts_army_results(lobby_server, channel):
Expand Down
1 change: 1 addition & 0 deletions tests/integration_tests/test_matchmaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ async def test_game_matchmaking_disconnect(lobby_server):
assert msg == {"command": "match_cancelled", "game_id": 41956}


@pytest.mark.flaky
@fast_forward(130)
async def test_game_matchmaking_close_fa_and_requeue(lobby_server):
_, proto1, _, proto2 = await queue_players_for_matchmaking(lobby_server)
Expand Down
1 change: 1 addition & 0 deletions tests/integration_tests/test_teammatchmaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ async def test_game_matchmaking_with_parties(lobby_server):
assert msg["faction"] == i + 1


@pytest.mark.flaky
@fast_forward(30)
async def test_newbie_matchmaking_with_parties(lobby_server):
"""
Expand Down

0 comments on commit b3c9ecf

Please sign in to comment.