Skip to content

Commit

Permalink
Expand unit test for micrometer-metrics#2176
Browse files Browse the repository at this point in the history
  • Loading branch information
bol-com-pschmitz committed Aug 5, 2020
1 parent 9c167c1 commit 446c509
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,9 @@ void asyncLogShouldNotBeDuplicated() throws IOException {

assertThat(registry.get("log4j2.events").tags("level", "info").counter().count()).isEqualTo(0);
logger.info("Hello, world!");
assertThat(registry.get("log4j2.events").tags("level", "info").counter().count()).isEqualTo(1);
logger.info("Hello, world!");
logger.info("Hello, world!");
assertThat(registry.get("log4j2.events").tags("level", "info").counter().count()).isEqualTo(3);
}

}

0 comments on commit 446c509

Please sign in to comment.