HBASE-11918 TestVisibilityLabelsWithDistributedLogReplay#testAddVisibilityLabelsOnRSRestart sometimes fails due to VisibilityController initialization not being recognized
This commit is contained in:
parent
4995ed8a02
commit
ee631e19c6
|
@ -129,6 +129,8 @@ public class TestVisibilityLabelsWithDefaultVisLabelService extends TestVisibili
|
||||||
vcInitialized.set(false);
|
vcInitialized.set(false);
|
||||||
LOG.warn("VisibilityController was not yet initialized");
|
LOG.warn("VisibilityController was not yet initialized");
|
||||||
Threads.sleep(10);
|
Threads.sleep(10);
|
||||||
|
} else {
|
||||||
|
vcInitialized.set(true);
|
||||||
}
|
}
|
||||||
} else LOG.debug("new labels added: " + resp);
|
} else LOG.debug("new labels added: " + resp);
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
|
|
Loading…
Reference in New Issue