Use another Redis queue for the test app to prevent clashes with another Platypush service running on the same machine

This commit is contained in:
Fabio Manganiello 2021-03-06 17:17:55 +01:00
parent 8f256e4077
commit 6f85318868
1 changed files with 1 additions and 0 deletions

View File

@ -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)