Skip to content

Commit 0a10e2b

Browse files
authored
fixed expected msg (#3410)
* fixed expected msg
1 parent 259fa5d commit 0a10e2b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

integration-tests/src/test/java/oracle/weblogic/kubernetes/ItMiiDynamicUpdatePart3.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,10 @@ void checkOperatorLogIntrospectorMsg() {
260260
if (!WEBLOGIC_SLIM) {
261261
assertTrue(operatorPodLog.contains("Version check passed"));
262262
}
263-
assertTrue(operatorPodLog.contains("Job " + domainUid + "-introspector has failed"));
263+
String expectedMsg = "The domain " + domainUid + " introspect job failed";
264+
265+
assertTrue(operatorPodLog.contains(expectedMsg), "Can't find expected msg "
266+
+ expectedMsg + " in the operator log");
264267
assertTrue(operatorPodLog.contains(MII_DYNAMIC_UPDATE_EXPECTED_ERROR_MSG));
265268
}
266269

0 commit comments

Comments
 (0)