mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-08 08:08:13 +08:00
Experimenting with disque build on travis
This commit is contained in:
@@ -119,5 +119,4 @@ Q_CLUSTER = {'name': 'django_q_test',
|
|||||||
'cpu_affinity': 1,
|
'cpu_affinity': 1,
|
||||||
'testing': True,
|
'testing': True,
|
||||||
'log_level': 'DEBUG',
|
'log_level': 'DEBUG',
|
||||||
'django_redis': 'default',
|
'django_redis': 'default'}
|
||||||
'disque_auth': 'foobared'}
|
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ def test_redis():
|
|||||||
Conf.DJANGO_REDIS = 'default'
|
Conf.DJANGO_REDIS = 'default'
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.skipif(Conf.DISQUE_AUTH is None,
|
@pytest.mark.skipif(os.getenv('DISQUE', False),
|
||||||
reason="No disque server configured")
|
reason="No disque server configured")
|
||||||
def test_disque():
|
def test_disque():
|
||||||
Conf.DISQUE = ['127.0.0.1:7711']
|
Conf.DISQUE = ['127.0.0.1:7711']
|
||||||
|
|||||||
Reference in New Issue
Block a user