예제 #1
0
 def test_can_create_master(self):
     master = create_master("ipc:///tmp/worker", "ipc:///tmp/frontend", "ipc:///tmp/monitor/")
     self.assertIsInstance(master, Master)
예제 #2
0
파일: run.py 프로젝트: yondu22/cloud-asr
from lib import create_master
import os


master = create_master(os.environ['WORKER_ADDR'], os.environ['API_ADDR'], os.environ['MONITOR_ADDR'])
master.run()
예제 #3
0
파일: run.py 프로젝트: oplatek/cloud-asr
from lib import create_master
import os


master = create_master(os.environ['WORKER_ADDR'], os.environ['FRONTEND_ADDR'], os.environ['MONITOR_ADDR'])
master.run()
예제 #4
0
 def test_can_create_master(self):
     master = create_master("ipc:///tmp/worker", "ipc:///tmp/frontend",
                            "ipc:///tmp/monitor/")
     self.assertIsInstance(master, Master)