From df9e413ecec6059e6fc0bc18bcdb3d278b9dad60 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 3 Feb 2021 16:48:18 +0100 Subject: [PATCH] server slave different of master --- orchestra/contrib/domains/tests/functional_tests/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orchestra/contrib/domains/tests/functional_tests/tests.py b/orchestra/contrib/domains/tests/functional_tests/tests.py index fbc92478..ae6db8ba 100644 --- a/orchestra/contrib/domains/tests/functional_tests/tests.py +++ b/orchestra/contrib/domains/tests/functional_tests/tests.py @@ -20,9 +20,9 @@ run = partial(run, display=False) class DomainTestMixin(object): MASTER_SERVER = os.environ.get('ORCHESTRA_MASTER_SERVER', 'localhost') - SLAVE_SERVER = os.environ.get('ORCHESTRA_SLAVE_SERVER', 'localhost') + SLAVE_SERVER = os.environ.get('ORCHESTRA_SLAVE_SERVER', 'localhost2') MASTER_SERVER_ADDR = socket.gethostbyname(MASTER_SERVER) - SLAVE_SERVER_ADDR = socket.gethostbyname(SLAVE_SERVER) + SLAVE_SERVER_ADDR = '127.0.0.2' def setUp(self): djsettings.DEBUG = True