Skip to content

Commit a22fafc

Browse files
committed
[tests] Exec realtime tests first, increase snooze time
1 parent f4a4d6a commit a22fafc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,14 @@ jobs:
9696
- name: Tests
9797
if: ${{ !cancelled() && steps.deps.conclusion == 'success' }}
9898
run: |
99+
coverage run runtests.py --tag=no_parallel
99100
coverage run runtests.py --parallel --exclude-tag=no_parallel
100101
WIFI_MESH=1 coverage run runtests.py --parallel \
101102
--exclude-tag=no_parallel \
102103
--exclude-tag=selenium_tests
103104
SAMPLE_APP=1 coverage run ./runtests.py --parallel \
104105
--exclude-tag=no_parallel \
105106
--exclude-tag=selenium_tests
106-
coverage run runtests.py --tag=no_parallel
107107
coverage combine
108108
coverage xml
109109
env:

openwisp_network_topology/tests/test_realtime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def setUp(self):
7171

7272
def _snooze(self):
7373
"""Allows a bit of time for the UI to update, reduces flakyness"""
74-
sleep(0.2)
74+
sleep(0.25)
7575

7676
async def _get_communicator(self, admin_client, topology_id):
7777
session_id = admin_client.cookies["sessionid"].value

0 commit comments

Comments
 (0)