From a04e1efa577c86901f666dc8bb1d3f720e999af4 Mon Sep 17 00:00:00 2001 From: "Keith W. Campbell" Date: Mon, 19 Sep 2022 11:07:11 -0400 Subject: [PATCH] Testing for 64-bit dump should ignore DDRInteractiveCommandException Signed-off-by: Keith W. Campbell --- .../DDR_Test/src/j9vm/test/ddrext/DDRExtTesterBase.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/functional/DDR_Test/src/j9vm/test/ddrext/DDRExtTesterBase.java b/test/functional/DDR_Test/src/j9vm/test/ddrext/DDRExtTesterBase.java index 9c2145919d2..43136440f57 100644 --- a/test/functional/DDR_Test/src/j9vm/test/ddrext/DDRExtTesterBase.java +++ b/test/functional/DDR_Test/src/j9vm/test/ddrext/DDRExtTesterBase.java @@ -461,14 +461,14 @@ public static void resetList() { coveredStructures.clear(); } - /* Check whether core is generated on 64 bit platform or not. - * Run setvm with the address that can exist only on 64 bit platform + /* Check whether core is generated on a 64-bit platform or not. + * Run setvm with an address that can exist only on a 64-bit platform. */ public boolean is64BitPlatform() { String setVMOutput = exec(Constants.SETVM_CMD, new String[] { CommandUtils.UDATA_MAX_64BIT.toString() }); boolean is64BitPlatform = true; - /* If it is 32-bit platform, then it will complain about address being too large. */ - if (validate(setVMOutput, "is larger than the max available memory address: 0xFFFFFFFF", null)) { + /* If it is a 32-bit platform, then it will complain about address being too large. */ + if (validate(setVMOutput, "is larger than the max available memory address: 0xFFFFFFFF", 1)) { is64BitPlatform = false; } return is64BitPlatform;