forked from platypush/platypush
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:
parent
8f256e4077
commit
6f85318868
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ def app():
|
||||||
|
|
||||||
Config.init(config_file)
|
Config.init(config_file)
|
||||||
app = Daemon(config_file=config_file)
|
app = Daemon(config_file=config_file)
|
||||||
|
app.bus.redis_queue = 'platypush-tests/bus'
|
||||||
Thread(target=lambda: app.run()).start()
|
Thread(target=lambda: app.run()).start()
|
||||||
logging.info('Sleeping {} seconds while waiting for the daemon to start up'.format(app_start_timeout))
|
logging.info('Sleeping {} seconds while waiting for the daemon to start up'.format(app_start_timeout))
|
||||||
time.sleep(app_start_timeout)
|
time.sleep(app_start_timeout)
|
||||||
|
|
Loading…
Reference in a new issue