Add Log4j 2.x agent tests for the 'log4j' domain
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 11 Feb 2022 15:26:02 +0000 (15:26 +0000)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 18 Feb 2022 16:57:04 +0000 (11:57 -0500)
commit0fd2fd15d3d5cdcd2598ed801b1d1c34d84a4dc3
treec32454ebc9da4228a779238814575d2ccfdb60da
parent4ae042345b4094e98611744d9ba6c92265058fdb
Add Log4j 2.x agent tests for the 'log4j' domain

Add integration tests for the new Log4j 2.x agent in Log4j 1.x compat
mode using the current 'log4j' domain, use the new configure switch
'--enable-test-java-agent-log4j2' to enable it or
'--enable-test-java-agent-all' to enable all Java agents tests.

To run only this new test, use this command :

  cd tests/regression && make check TESTS="ust/java-log4j2/test_agent_log4j2_domain_log4j"

Change-Id: Id780c9ee13913c91c18548f58b14cc600e77e9fa
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
12 files changed:
configure.ac
tests/regression/Makefile.am
tests/regression/ust/Makefile.am
tests/regression/ust/java-log4j/JTestLTTng.java [deleted file]
tests/regression/ust/java-log4j/JTestLTTngLog4j.java [new file with mode: 0644]
tests/regression/ust/java-log4j/Makefile.am
tests/regression/ust/java-log4j/test_java_log4j
tests/regression/ust/java-log4j2/JTestLTTngLog4j2.java [new file with mode: 0644]
tests/regression/ust/java-log4j2/Makefile.am [new file with mode: 0644]
tests/regression/ust/java-log4j2/domain-log4j.xml [new file with mode: 0644]
tests/regression/ust/java-log4j2/test_agent_log4j2_domain_log4j [new file with mode: 0755]
tests/utils/utils.sh
This page took 0.026908 seconds and 4 git commands to generate.