Skip to content

Commit b88e25e

Browse files
author
Sankar Periyathambi Neelakandan
committed
fix
1 parent 7ad3264 commit b88e25e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public static void staticUnPrepare() throws Exception {
125125
}
126126

127127
@Test
128-
public void test1OperatorUpgradeFrom2_0() throws Exception {
128+
public void testOperatorUpgradeFrom2_0() throws Exception {
129129
String testMethod = new Object() {}.getClass().getEnclosingMethod().getName();
130130
logTestBegin(testMethod);
131131
OP_NS = "weblogic-operator20";
@@ -139,7 +139,7 @@ public void test1OperatorUpgradeFrom2_0() throws Exception {
139139
}
140140

141141
@Test
142-
public void test5OperatorUpgradeFrom2_0_1() throws Exception {
142+
public void testOperatorUpgradeFrom2_0_1() throws Exception {
143143
String testMethod = new Object() {}.getClass().getEnclosingMethod().getName();
144144
logTestBegin(testMethod);
145145
OP_NS = "weblogic-operator201";
@@ -153,7 +153,7 @@ public void test5OperatorUpgradeFrom2_0_1() throws Exception {
153153
}
154154

155155
@Test
156-
public void test3OperatorUpgradeFrom2_1() throws Exception {
156+
public void testOperatorUpgradeFrom2_1() throws Exception {
157157
String testMethod = new Object() {}.getClass().getEnclosingMethod().getName();
158158
logTestBegin(testMethod);
159159
OP_NS = "weblogic-operator21";
@@ -167,7 +167,7 @@ public void test3OperatorUpgradeFrom2_1() throws Exception {
167167
}
168168

169169
@Test
170-
public void test4OperatorUpgradeFrom2_2_0() throws Exception {
170+
public void testOperatorUpgradeFrom2_2_0() throws Exception {
171171
String testMethod = new Object() {}.getClass().getEnclosingMethod().getName();
172172
logTestBegin(testMethod);
173173
OP_NS = "weblogic-operator220";
@@ -181,7 +181,7 @@ public void test4OperatorUpgradeFrom2_2_0() throws Exception {
181181
}
182182

183183
@Test
184-
public void test2OperatorUpgradeFrom2_2_1() throws Exception {
184+
public void testOperatorUpgradeFrom2_2_1() throws Exception {
185185
String testMethod = new Object() {}.getClass().getEnclosingMethod().getName();
186186
logTestBegin(testMethod);
187187
OP_NS = "weblogic-operator221";
@@ -196,12 +196,12 @@ public void test2OperatorUpgradeFrom2_2_1() throws Exception {
196196

197197
private void upgradeOperator(boolean restart) throws Exception {
198198
operator20.callHelmUpgrade("image=" + OP_TARGET_RELEASE);
199-
// if (restart) {
200-
// checkDomainRollingRestarted();
201-
// }
199+
if (restart) {
200+
checkDomainRollingRestarted();
201+
}
202202
checkOperatorVersion(DOM_TARGET_RELEASE_VERSION);
203-
// testBasicUseCases(domain);
204-
// testClusterScaling(operator20, domain);
203+
testBasicUseCases(domain);
204+
testClusterScaling(operator20, domain);
205205
}
206206

207207
private void checkOperatorVersion(String version) throws Exception {

0 commit comments

Comments
 (0)