Skip to content

Commit

Permalink
Make Admin UI tests less flaky #nolog
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Jan 6, 2024
1 parent 12134bd commit ec0c48f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/async/test_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ def test_admin_features(self, isvr):

# join and leave
admin_client.emit('join', ('/', 'room', client1.sid))
time.sleep(0.2)
admin_client.emit(
'emit', ('/', 'room', 'foo', {'bar': 'baz'}))
data = client1.receive(timeout=5)
Expand Down
1 change: 1 addition & 0 deletions tests/common/test_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ def test_admin_features(self, isvr):

# join and leave
admin_client.emit('join', ('/', 'room', client1.sid))
time.sleep(0.2)
admin_client.emit(
'emit', ('/', 'room', 'foo', {'bar': 'baz'}))
data = client1.receive(timeout=5)
Expand Down

0 comments on commit ec0c48f

Please sign in to comment.