public class TestLeaderSelectorEdges extends BaseClassForTests
server
Constructor and Description |
---|
TestLeaderSelectorEdges() |
Modifier and Type | Method and Description |
---|---|
void |
createProtectedNodeInBackgroundTest()
Create a protected node in background with a retry policy
|
void |
createProtectedNodeInBackgroundTestNoRetry()
Same test as above but without a retry policy
|
void |
flappingTest()
Create a LeaderSelector but close the connection right after the "lock" znode
has been created.
|
static void |
resetCNXFactory() |
static void |
setCNXFactory() |
createAndStartCluster, createServer, setup, teardown
@BeforeAll public static void setCNXFactory()
@AfterAll public static void resetCNXFactory()
@Test public void flappingTest() throws Exception
Exception
@Test public void createProtectedNodeInBackgroundTest() throws Exception
Exception
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.