forked from p15670423/monkey
island: Rename launch_mongodb() -> start()
This commit is contained in:
parent
d35099fa9b
commit
dc40713683
|
@ -22,7 +22,7 @@ class MongoDbProcess:
|
|||
self.db_dir_parent_path = db_dir_parent_path
|
||||
self.logging_dir_path = logging_dir_path
|
||||
|
||||
def launch_mongodb(self):
|
||||
def start(self):
|
||||
db_path = self._create_db_dir()
|
||||
self._start_mongodb_process(db_path)
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ def start_mongodb(config_options: IslandConfigOptions):
|
|||
if config_options.start_mongodb:
|
||||
MongoDbProcess(
|
||||
db_dir_parent_path=config_options.data_dir, logging_dir_path=config_options.data_dir
|
||||
).launch_mongodb()
|
||||
).start()
|
||||
wait_for_mongo_db_server(MONGO_URL)
|
||||
assert_mongo_db_version(MONGO_URL)
|
||||
mongo_connector.connect_dal_to_mongodb()
|
||||
|
|
Loading…
Reference in New Issue