This repository was archived by the owner on Jan 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
tests/src/test/scala/actionContainers Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ class IBMPythonActionDB2Tests extends TestHelpers with WskTestHelpers with Befor
7878 " --user" ,
7979 " db2inst1" ,
8080 db2containerName,
81- " /home /db2inst1/sqllib/bin/db2" ,
81+ " /database/config /db2inst1/sqllib/bin/db2" ,
8282 " list" ,
8383 " active" ,
8484 " databases" )
@@ -108,10 +108,10 @@ class IBMPythonActionDB2Tests extends TestHelpers with WskTestHelpers with Befor
108108 " DB2INST1_PASSWORD=db2inst1-pwd" ,
109109 " -e" ,
110110 " LICENSE=accept" ,
111+ " --privileged=true" ,
111112 " --name" ,
112113 db2containerName,
113- " ibmcom/db2express-c" ,
114- " db2start" )
114+ " ibmcom/db2" )
115115
116116 sleepUntilContainerRunning()
117117
@@ -122,7 +122,7 @@ class IBMPythonActionDB2Tests extends TestHelpers with WskTestHelpers with Befor
122122 " docker" ,
123123 " cp" ,
124124 db2dir + " setup.sql" ,
125- db2containerName + " :/home /db2inst1/setup.sql" )
125+ db2containerName + " :/database/config /db2inst1/setup.sql" )
126126 println(" Creating db2 database, might take up to 5 minutes" )
127127 TestUtils .runCmd(
128128 0 ,
@@ -133,9 +133,9 @@ class IBMPythonActionDB2Tests extends TestHelpers with WskTestHelpers with Befor
133133 " --user" ,
134134 " db2inst1" ,
135135 db2containerName,
136- " /home /db2inst1/sqllib/bin/db2" ,
136+ " /database/config /db2inst1/sqllib/bin/db2" ,
137137 " -tvf" ,
138- " /home /db2inst1/setup.sql" )
138+ " /database/config /db2inst1/setup.sql" )
139139 }
140140
141141 override def afterAll () {
You can’t perform that action at this time.
0 commit comments