projects
/
lttng-ust-java-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Attach exception messages to JUnit fail() calls
[lttng-ust-java-tests.git]
/
lttng-ust-java-tests-log4j
/
src
/
test
/
java
/
org
/
lttng
/
ust
/
agent
/
integration
/
events
/
Log4jLegacyApiIT.java
diff --git
a/lttng-ust-java-tests-log4j/src/test/java/org/lttng/ust/agent/integration/events/Log4jLegacyApiIT.java
b/lttng-ust-java-tests-log4j/src/test/java/org/lttng/ust/agent/integration/events/Log4jLegacyApiIT.java
index e6b9a7903c40e010a7dd74e686ec43b9332ce058..fe613d39d2b5aa1c123aa4e4754a3bdc6586478e 100644
(file)
--- a/
lttng-ust-java-tests-log4j/src/test/java/org/lttng/ust/agent/integration/events/Log4jLegacyApiIT.java
+++ b/
lttng-ust-java-tests-log4j/src/test/java/org/lttng/ust/agent/integration/events/Log4jLegacyApiIT.java
@@
-184,7
+184,7
@@
public class Log4jLegacyApiIT {
log4jAppenderField.setAccessible(true);
return (ILttngHandler) log4jAppenderField.get(LTTngAgent.getLTTngAgent());
} catch (ReflectiveOperationException | SecurityException e) {
- fail();
+ fail(
e.getMessage()
);
return null;
}
}
This page took
0.022778 seconds
and
4
git commands to generate.