From 6f853188680877689f9ee7397bc51b9bdf215d3a Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 6 Mar 2021 17:17:55 +0100 Subject: [PATCH] Use another Redis queue for the test app to prevent clashes with another Platypush service running on the same machine --- tests/conftest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/conftest.py b/tests/conftest.py index 36337bfe79..a6c7a7bae6 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -17,6 +17,7 @@ def app(): Config.init(config_file) app = Daemon(config_file=config_file) + app.bus.redis_queue = 'platypush-tests/bus' Thread(target=lambda: app.run()).start() logging.info('Sleeping {} seconds while waiting for the daemon to start up'.format(app_start_timeout)) time.sleep(app_start_timeout)