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):
36
36
iris = None
37
37
if not opt .container :
38
38
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 ()]
53
50
54
51
55
52
def pytest_unconfigure (config ):
You can’t perform that action at this time.
0 commit comments