Skip to content

Commit 6202b9b

Browse files
authored
back ported fix from main for ItMiiCreateAuxImageWithImageTool.testNegativeCreateAuxImageUnsupportedPM failed due to options change in imagetool.sh
1 parent ec09db9 commit 6202b9b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,7 @@ void testNegativeCreateAuxImageUnsupportedPM() {
401401
.modelFiles(Collections.singletonList(MODEL_DIR + "/model.update.wm.yaml"));
402402

403403
ExecResult result = createAuxImageUsingWITAndReturnResult(witParams);
404-
String exepectedErrorMsg = "Invalid value for option '--packageManager': expected one of "
405-
+ "[OS_DEFAULT, NONE, YUM, DNF, MICRODNF, APTGET, APK, ZYPPER] (case-insensitive) but was 'pkm'";
404+
String exepectedErrorMsg = "Invalid value for option '--packageManager':";
406405
assertTrue(result.exitValue() != 0 && result.stderr().contains(exepectedErrorMsg));
407406
}
408407

0 commit comments

Comments
 (0)