From bc381e38516a8bd8b2d9e3b9353594702a54e7cc Mon Sep 17 00:00:00 2001 From: Scott Marlow Date: Fri, 11 Oct 2024 09:45:34 -0400 Subject: [PATCH] add more trace output for vehicle determination to understand what needs to change for appclient vehicle and possible fix --- .../main/java/com/sun/ts/lib/harness/ServiceEETest.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/common/src/main/java/com/sun/ts/lib/harness/ServiceEETest.java b/common/src/main/java/com/sun/ts/lib/harness/ServiceEETest.java index e3e78169fb..a0dc49cf7a 100644 --- a/common/src/main/java/com/sun/ts/lib/harness/ServiceEETest.java +++ b/common/src/main/java/com/sun/ts/lib/harness/ServiceEETest.java @@ -99,6 +99,14 @@ public Status run(String[] argv, Properties p) { TestUtil.logTrace("VehicleClient class check if is vehicle class = " + (isVehicleClient? "yes, is a com.sun.ts.tests.common.vehicle.VehicleClient" : "no, is not com.sun.ts.tests.common.vehicle.VehicleClient class")); + if (inTestHarness && !isVehicleClient) { + String sVehicle = TestUtil.getProperty(p, "vehicle"); + if("stateless3".equals(sVehicle) || "stateful3".equals(sVehicle) + || "appmanaged".equals(sVehicle) || "appmanagedNoTx".equals(sVehicle)) { + isVehicleClient = true; + TestUtil.logTrace("Using appclient vehicle so set is vehicle client to true"); + } + } } catch (ClassNotFoundException e) { TestUtil.logTrace("VehicleClient class not found, so not a vehicle client."); }