File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
logback-classic/src/test/java/ch/qos/logback/classic/rolling Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -192,9 +192,10 @@ public void totalSizeCapSmallerThanMaxFileSize() throws Exception {
192192 // expectedFilenameList.add(randomOutputDir + "z" + testId);
193193 RollingFileAppender <ILoggingEvent > rfa = (RollingFileAppender <ILoggingEvent >) root .getAppender ("ROLLING" );
194194
195- statusChecker .assertContainsMatch (
196- "totalSizeCap of \\ [\\ d* \\ w*\\ ] is smaller than maxFileSize \\ [\\ d* \\ w*\\ ] which is non-sensical" );
197- assertFalse (rfa .isStarted ());
195+ // totalSizeCap of [10 Bytes] is much smaller than maxFileSize [250 Bytes] which is non-sensical, even taking compression into account.
196+ statusChecker .assertContainsMatch (Status .WARN ,
197+ "totalSizeCap of \\ [\\ d* \\ w*\\ ] is much smaller than maxFileSize \\ [\\ d* \\ w*\\ ] which is non-sensical, even taking compression into account." );
198+ assertTrue (rfa .isStarted ());
198199
199200 }
200201
You can’t perform that action at this time.
0 commit comments