Attach exception messages to JUnit fail() calls
[lttng-ust-java-tests.git] / lttng-ust-java-tests-common / src / test / java / org / lttng / ust / agent / context / ContextRegistrationIT.java
index 4b8fc2caa76b1db3dda96bad025e557a8f85e66d..8455374346af04f6348cd19c72bc9834a325ba89 100644 (file)
@@ -46,7 +46,7 @@ public class ContextRegistrationIT {
         try {
             mgr = ContextInfoManager.getInstance();
         } catch (SecurityException | IOException e) {
-            fail();
+            fail(e.getMessage());
         }
     }
 
This page took 0.023288 seconds and 4 git commands to generate.