accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1478483 - /accumulo/branches/1.5/test/src/test/java/org/apache/accumulo/test/ShellServerTest.java
Date Thu, 02 May 2013 18:48:13 GMT
Author: ecn
Date: Thu May  2 18:48:12 2013
New Revision: 1478483

URL: http://svn.apache.org/r1478483
Log:
ACCUMULO-1334 make du test more forgiving of small changes

Modified:
    accumulo/branches/1.5/test/src/test/java/org/apache/accumulo/test/ShellServerTest.java

Modified: accumulo/branches/1.5/test/src/test/java/org/apache/accumulo/test/ShellServerTest.java
URL: http://svn.apache.org/viewvc/accumulo/branches/1.5/test/src/test/java/org/apache/accumulo/test/ShellServerTest.java?rev=1478483&r1=1478482&r2=1478483&view=diff
==============================================================================
--- accumulo/branches/1.5/test/src/test/java/org/apache/accumulo/test/ShellServerTest.java
(original)
+++ accumulo/branches/1.5/test/src/test/java/org/apache/accumulo/test/ShellServerTest.java
Thu May  2 18:48:12 2013
@@ -242,8 +242,7 @@ public class ShellServerTest {
     output.clear();
     shell.execCommand("du -h", false, false);
     String o = output.get();
-    System.out.println("XX" + o + "XX");
-    assertTrue(o.matches(".*\\s26[4-6]B\\s\\[t\\]\\n"));  // for some reason, there's 1-2
bytes of fluctuation
+    assertTrue(o.matches(".*s26[0-9]B\\s\\[t\\]\\n"));  // for some reason, there's 1-2 bytes
of fluctuation
     exec("deletetable -f t");
   }
   



Mime
View raw message