Details
-
Test
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
In TestYarnClient, tests commonly wrap methods that throw exceptions in a try catch statement similar to the following:
try { client.submitApplication(context); } catch (Exception e) { Assert.fail("Exception is not expected."); }
This hides useful error messages, and surfaces less helpful ones.