You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2011/10/20 00:06:33 UTC

svn commit: r1186532 - in /hbase/branches/0.92: CHANGES.txt src/test/java/org/apache/hadoop/hbase/avro/TestAvroServer.java

Author: stack
Date: Wed Oct 19 22:06:32 2011
New Revision: 1186532

URL: http://svn.apache.org/viewvc?rev=1186532&view=rev
Log:
HBASE-4621 TestAvroServer fails quite often intermittently

Modified:
    hbase/branches/0.92/CHANGES.txt
    hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/avro/TestAvroServer.java

Modified: hbase/branches/0.92/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/CHANGES.txt?rev=1186532&r1=1186531&r2=1186532&view=diff
==============================================================================
--- hbase/branches/0.92/CHANGES.txt (original)
+++ hbase/branches/0.92/CHANGES.txt Wed Oct 19 22:06:32 2011
@@ -346,6 +346,7 @@ Release 0.92.0 - Unreleased
                spammed when too many store files
    HBASE-4620  I broke the build when I submitted HBASE-3581 (Send
                length of the rpc response)
+   HBASE-4621  TestAvroServer fails quite often intermittently (Akash Ashok)
 
   TESTS
    HBASE-4492  TestRollingRestart fails intermittently

Modified: hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/avro/TestAvroServer.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/avro/TestAvroServer.java?rev=1186532&r1=1186531&r2=1186532&view=diff
==============================================================================
--- hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/avro/TestAvroServer.java (original)
+++ hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/avro/TestAvroServer.java Wed Oct 19 22:06:32 2011
@@ -122,10 +122,12 @@ public class TestAvroServer {
     impl.disableTable(tableAname);
     assertFalse(impl.isTableEnabled(tableAname));
 
+    long oldMaxFileSize = impl.describeTable(tableAname).maxFileSize;
     tableA.maxFileSize = 123456L;
     impl.modifyTable(tableAname, tableA);
+  
     // It can take a while for the change to take effect.  Wait here a while.
-    while(impl.describeTable(tableAname) == null) {
+    while(impl.describeTable(tableAname).maxFileSize == oldMaxFileSize) {
       Threads.sleep(100);
     }