File tree Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Original file line number Diff line number Diff line change @@ -36,20 +36,17 @@ def start_container(opt, file_config):
3636 iris = None
3737 if not opt .container :
3838 return
39- try :
40- print ("Starting IRIS container:" , opt .container )
41- iris = IRISContainer (
42- opt .container ,
43- username = "sqlalchemy" ,
44- password = "sqlalchemy" ,
45- dbname = "TEST" ,
46- )
47- iris .start ()
48- print ("dburi:" , iris .get_connection_url ())
49- opt .dburi = [iris .get_connection_url ()]
50- except Exception as e :
51- iris = None
52- pytest .exit ("Failed to start IRIS container" )
39+
40+ print ("Starting IRIS container:" , opt .container )
41+ iris = IRISContainer (
42+ opt .container ,
43+ username = "sqlalchemy" ,
44+ password = "sqlalchemy" ,
45+ namespace = "TEST" ,
46+ )
47+ iris .start ()
48+ print ("dburi:" , iris .get_connection_url ())
49+ opt .dburi = [iris .get_connection_url ()]
5350
5451
5552def pytest_unconfigure (config ):
You can’t perform that action at this time.
0 commit comments