changed sequence of join match and listener
This commit is contained in:
@@ -283,14 +283,14 @@ async def main():
|
||||
await p1.connect()
|
||||
await p2.connect()
|
||||
|
||||
# Match create + join
|
||||
match_id = await p1.create_match()
|
||||
await p2.join_match(match_id)
|
||||
|
||||
# Start listeners
|
||||
p1.start_listener()
|
||||
p2.start_listener()
|
||||
|
||||
# Match create + join
|
||||
match_id = await p1.create_match()
|
||||
await p2.join_match(match_id)
|
||||
|
||||
await asyncio.sleep(1)
|
||||
|
||||
for test_scenario in TEST_SCENARIOS:
|
||||
|
||||
Reference in New Issue
Block a user