Duplicate :
|
|
Relates :
|
|
Relates :
|
The SA tests currently 'PASS' even though the test is 'skipped' due to attach permission issues. The SA tests execute the following snippet: (either directly in the test or indirectly through ClhsdbLauncher.java). if (!Platform.shouldSAAttach()) { // Silently skip the test if we don't have enough permissions to attach System.out.println("SA attach not expected to work - test skipped."); return null; } The tests have to be modified to throw an error (and not PASS) if there is an attach failure. Once this is done, the tests which consume the output from ClhsdbLauncher for further testing, should throw an exception if there is any null output from ClhsdbLauncher. It would make sense to do this in the caller of ClhsdbLauncher.run() since this would be test specific. At this point, the SA Mach5 tests on MacOS do not run (due to attach permission issues) since they are not invoked with root privileges due to an infra issue. (INFRA-12468) So, due to the above issue, the SA tests on MacOSX would also have to be quarantined as a part of this fix till INFRA-12468 gets resolved.
|