diff --git a/logging/jboss/src/test/java/io/quarkus/ts/logging/jboss/AccessLoggingIT.java b/logging/jboss/src/test/java/io/quarkus/ts/logging/jboss/AccessLoggingIT.java index 55274526b..caf674c64 100644 --- a/logging/jboss/src/test/java/io/quarkus/ts/logging/jboss/AccessLoggingIT.java +++ b/logging/jboss/src/test/java/io/quarkus/ts/logging/jboss/AccessLoggingIT.java @@ -77,10 +77,11 @@ public void logRotationTest() throws IOException { assertEquals(3, logFileNames.size(), "There should be 3 log file - one active and two backups"); // check main log file size, we have max 5KB configured - // adding extra 420 because the max file is not actual maximum of the file size :-) + // adding extra 520 because the max file is not actual maximum of the file size :-) // it is just a limit after which Quarkus rotates (when logging finishes) // see https://github.com/quarkusio/quarkus/issues/44346 - assertTrue(Files.size(accessLogPath()) <= 5420, "Main log size should be max 5KB"); + assertTrue(Files.size(accessLogPath()) <= 5520, + "Main log size should be max 5KB + 520B buffer, but was " + Files.size(accessLogPath())); // check that archive logs are valid zip files for (String filename : logFileNames) {