Skip to content

Commit 35d2248

Browse files
committed
test: skip pypy, wait for worker boot (slow CI)
1 parent 3d6f63e commit 35d2248

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/test_e2e.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import os
2+
import platform
23
import secrets
34
import signal
45
import subprocess
@@ -286,6 +287,9 @@ def run(self):
286287
return conn.getresponse()
287288

288289

290+
@pytest.mark.skipif(
291+
platform.python_implementation() == "PyPy", reason="slow on Github CI"
292+
)
289293
@pytest.mark.parametrize("worker_class", TEST_TOLERATES_BAD_BOOT)
290294
def test_process_request_after_fixing_syntax_error(worker_class):
291295
# 1. start up the server with invalid app
@@ -373,6 +377,9 @@ def test_process_request_after_fixing_syntax_error(worker_class):
373377
)
374378

375379

380+
@pytest.mark.skipif(
381+
platform.python_implementation() == "PyPy", reason="slow on Github CI"
382+
)
376383
@pytest.mark.parametrize("worker_class", TEST_TOLERATES_BAD_RELOAD)
377384
def test_process_shutdown_cleanly_after_inserting_syntax_error(worker_class):
378385
# 1. start with valid application

0 commit comments

Comments
 (0)