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>
Mon, 14 Mar 2022 17:49:31 +0000 (13:49 -0400)
commit7f6639c208fdea0b21476c24577d4286bf2aa80a
treebb9053b7421093c1fa9d8968ac810484b8ad89f7
parent675f2779d48cbb9179ace23eb9221d38c878fc8c
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.

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
Depends-on: lttng-ust: I7fd5f79ad58c77175714bd4198d8ff5db2e6b846
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.025391 seconds and 4 git commands to generate.