Skip to content

Commit bcec615

Browse files
committed
debugging for internal Jenkins
1 parent e565383 commit bcec615

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

integration-tests/src/test/java/oracle/kubernetes/operator/ItPodsRestart.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public class ItPodsRestart extends BaseTest {
5252
@BeforeClass
5353
public static void staticPrepare() throws Exception {
5454
// initialize test properties and create the directories
55-
if (QUICKTEST) {
55+
if (!QUICKTEST) {
5656
initialize(APP_PROPS_FILE);
5757

5858
logger.info("Checking if operator1 and domain are running, if not creating");
@@ -79,7 +79,7 @@ public static void staticPrepare() throws Exception {
7979
*/
8080
@AfterClass
8181
public static void staticUnPrepare() throws Exception {
82-
if (QUICKTEST) {
82+
if (!QUICKTEST) {
8383
logger.info("+++++++++++++++++++++++++++++++++---------------------------------+");
8484
logger.info("BEGIN");
8585
logger.info("Run once, release cluster lease");
@@ -213,7 +213,7 @@ public void testServerPodsRestartByChangingIncludeServerOutInPodLog() throws Exc
213213
*/
214214
@Test
215215
public void testServerPodsRestartByChangingZImage() throws Exception {
216-
Assume.assumeTrue(QUICKTEST);
216+
Assume.assumeFalse(QUICKTEST);
217217
String testMethodName = new Object() {}.getClass().getEnclosingMethod().getName();
218218
logTestBegin(testMethodName);
219219

@@ -230,6 +230,7 @@ public void testServerPodsRestartByChangingZImage() throws Exception {
230230
+ "/weblogick8s/middleware/weblogic:duplicate");
231231

232232
String newImage = getWeblogicImageServer()+ "/middleware/weblogic:12.2.1.3-dev";
233+
TestUtils.exec("docker pull" + newImage, true);
233234
// apply new domain yaml and verify pod restart
234235
domain.verifyDomainServerPodRestart(
235236
"\"" + getWeblogicImageName() + ":" + getWeblogicImageTag() + "\"",

0 commit comments

Comments
 (0)