[jbosscache-commits] JBoss Cache SVN: r7400 - core/trunk/src/test/java/org/jboss/cache/config/parsing.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Thu Jan 8 07:02:06 EST 2009


Author: mircea.markus
Date: 2009-01-08 07:02:06 -0500 (Thu, 08 Jan 2009)
New Revision: 7400

Modified:
   core/trunk/src/test/java/org/jboss/cache/config/parsing/SampleConfigFilesCorrectnessTest.java
Log:
sometimes cannot bind to UDP port - this should be tolerated

Modified: core/trunk/src/test/java/org/jboss/cache/config/parsing/SampleConfigFilesCorrectnessTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/config/parsing/SampleConfigFilesCorrectnessTest.java	2009-01-08 11:44:20 UTC (rev 7399)
+++ core/trunk/src/test/java/org/jboss/cache/config/parsing/SampleConfigFilesCorrectnessTest.java	2009-01-08 12:02:06 UTC (rev 7400)
@@ -115,7 +115,11 @@
 
    private static class InMemoryAppender extends AppenderSkeleton
    {
-      String[] TOLERABLE_WARNINGS = {"DummyTransactionManager"};
+      String[] TOLERABLE_WARNINGS =
+            {
+                  "DummyTransactionManager",
+                  "could not bind to /228.10.10.10" //this might appear on some linuxes... 
+            };
       boolean foundUnknownWarning = false;
 
       /**
@@ -141,7 +145,7 @@
                }
             }
 
-            if (!skipPrinting) System.out.println("****** " + event.getMessage().toString());
+            if (!skipPrinting) System.out.println("InMemoryAppender ****** " + event.getMessage().toString());
          }
       }
 




More information about the jbosscache-commits mailing list