[logback-dev] svn commit: r1932 - logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/spi
noreply.ceki at qos.ch
noreply.ceki at qos.ch
Sat Nov 1 18:22:56 CET 2008
Author: ceki
Date: Sat Nov 1 18:22:56 2008
New Revision: 1932
Modified:
logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/spi/LoggingEventSerializationPerfTest.java
Log:
this test does not run on Linux
Modified: logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/spi/LoggingEventSerializationPerfTest.java
==============================================================================
--- logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/spi/LoggingEventSerializationPerfTest.java (original)
+++ logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/spi/LoggingEventSerializationPerfTest.java Sat Nov 1 18:22:56 2008
@@ -16,6 +16,7 @@
import ch.qos.logback.classic.net.testObjectBuilders.LoggingEventWithParametersBuilder;
import ch.qos.logback.classic.net.testObjectBuilders.TrivialLoggingEventBuilder;
import ch.qos.logback.core.CoreConstants;
+import ch.qos.logback.core.testUtil.Env;
public class LoggingEventSerializationPerfTest {
@@ -56,6 +57,9 @@
@Test
public void testPerformance() {
+ if (Env.isLinux()) {
+ return;
+ }
TrivialLoggingEventBuilder builder = new TrivialLoggingEventBuilder();
doLoop(builder, LOOP_LEN);
More information about the logback-dev
mailing list