Skip to content

Commit

Permalink
Add test for chages in #3987 (#4087)
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Bentley <tbentley@redhat.com>
  • Loading branch information
tombentley committed Dec 11, 2020
1 parent e1e1035 commit 04baa4f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ public void handle(Long timerId) {

@Test
public void testChangeLoggers(VertxTestContext context) throws InterruptedException {
String desired = "log4j.rootLogger=INFO, CONSOLE\n" +
String desired = "log4j.rootLogger=TRACE, CONSOLE\n" +
"log4j.logger.org.apache.zookeeper=WARN\n" +
"log4j.logger.org.I0Itec.zkclient=INFO\n" +
"log4j.logger.org.reflections.Reflection=INFO\n" +
Expand All @@ -274,8 +274,8 @@ public void testChangeLoggers(VertxTestContext context) throws InterruptedExcept
assertThat(map.get("org.I0Itec.zkclient").get("level"), is("INFO"));
assertThat(map.get("org.reflections").get("level"), is("FATAL"));
assertThat(map.get("org.reflections.Reflection").get("level"), is("INFO"));
assertThat(map.get("root").get("level"), is("INFO"));
assertThat(map.get("io.debezium").get("level"), is("INFO"));
assertThat(map.get("root").get("level"), is("TRACE"));
assertThat(map.get("io.debezium").get("level"), is("TRACE"));
assertThat(map.get("unknown"), is(nullValue()));
async.flag();
}))));
Expand Down

0 comments on commit 04baa4f

Please sign in to comment.