You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by te...@apache.org on 2014/09/09 16:32:57 UTC

git commit: HBASE-11918 TestVisibilityLabelsWithDistributedLogReplay#testAddVisibilityLabelsOnRSRestart sometimes fails due to VisibilityController initialization not being recognized

Repository: hbase
Updated Branches:
  refs/heads/0.98 2ed1f8f78 -> 33c9e64ca


HBASE-11918 TestVisibilityLabelsWithDistributedLogReplay#testAddVisibilityLabelsOnRSRestart sometimes fails due to VisibilityController initialization not being recognized


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/33c9e64c
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/33c9e64c
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/33c9e64c

Branch: refs/heads/0.98
Commit: 33c9e64ca3bb9da5a8137f99ed0bb1393f565921
Parents: 2ed1f8f
Author: Ted Yu <te...@apache.org>
Authored: Tue Sep 9 14:32:48 2014 +0000
Committer: Ted Yu <te...@apache.org>
Committed: Tue Sep 9 14:32:48 2014 +0000

----------------------------------------------------------------------
 .../visibility/TestVisibilityLabelsWithDefaultVisLabelService.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/33c9e64c/hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsWithDefaultVisLabelService.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsWithDefaultVisLabelService.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsWithDefaultVisLabelService.java
index d15e8dd..3153d79 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsWithDefaultVisLabelService.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsWithDefaultVisLabelService.java
@@ -129,6 +129,8 @@ public class TestVisibilityLabelsWithDefaultVisLabelService extends TestVisibili
                 vcInitialized.set(false);
                 LOG.warn("VisibilityController was not yet initialized");
                 Threads.sleep(10);
+              } else {
+                vcInitialized.set(true);
               }
             } else LOG.debug("new labels added: " + resp);
           } catch (Throwable t) {