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:48 +0000 (13:49 -0400)
commitc0554459b8dccba21ef6c7873b6d05c1594e4949
tree7d0e35b70fe62eb79cd76873a7f663edcba3cdae
parentc5cd91c8bf38aed6a54ff5e5f04dd6fa251a8673
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.027095 seconds and 4 git commands to generate.