Skip to content

Commit

Permalink
add more trace output for vehicle determination to understand what ne…
Browse files Browse the repository at this point in the history
…eds to change for appclient vehicle and possible fix
  • Loading branch information
scottmarlow committed Oct 11, 2024
1 parent ab2cf5d commit bc381e3
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
}
Expand Down

0 comments on commit bc381e3

Please sign in to comment.