Stop running some Heroku tests on macOS since it’s missing the appropriate signals

Refs issue #584.
main
Jannis Leidel 8 years ago
parent 2270369bd5
commit fcec17c8e1
No known key found for this signature in database
GPG Key ID: C795956FB489DCA9

@ -10,6 +10,9 @@ import signal
import time import time
from multiprocessing import Process from multiprocessing import Process
import subprocess import subprocess
import sys
import pytest
from tests import RQTestCase, slow from tests import RQTestCase, slow
from tests.fixtures import (create_file, create_file_after_timeout, from tests.fixtures import (create_file, create_file_after_timeout,
@ -712,6 +715,7 @@ class TestWorkerSubprocess(RQTestCase):
assert q.count == 0 assert q.count == 0
@pytest.mark.skipif(sys.platform == 'darwin', reason='requires Linux signals')
class HerokuWorkerShutdownTestCase(TimeoutTestCase, RQTestCase): class HerokuWorkerShutdownTestCase(TimeoutTestCase, RQTestCase):
def setUp(self): def setUp(self):
super(HerokuWorkerShutdownTestCase, self).setUp() super(HerokuWorkerShutdownTestCase, self).setUp()

Loading…
Cancel
Save