1
0
Fork 0

Update auto_clustering.py

master
Philip O'Toole 1 year ago committed by GitHub
parent b5249a0aca
commit ce2e773923
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -41,7 +41,7 @@ class TestBootstrapping(unittest.TestCase):
deprovision_node(n3)
class TestBootstrappingRestart(unittest.TestCase):
'''Test simple bootstrapping works via -bootstrap-expect'''
'''Test restarting a bootstrapped cluster works via -bootstrap-expect'''
def test(self):
n0 = Node(RQLITED_PATH, '0', bootstrap_expect=3)
n1 = Node(RQLITED_PATH, '1', bootstrap_expect=3)
@ -70,7 +70,7 @@ class TestBootstrappingRestart(unittest.TestCase):
deprovision_node(n2)
class TestBootstrappingRestartLeaveOnRemove(unittest.TestCase):
'''Test simple bootstrapping works via -bootstrap-expect'''
'''Test restarting a bootstrapped cluster works via -bootstrap-expect when nodes self-remove'''
def test(self):
n0 = Node(RQLITED_PATH, '0', bootstrap_expect=3, raft_cluster_remove_shutdown=True)
n1 = Node(RQLITED_PATH, '1', bootstrap_expect=3, raft_cluster_remove_shutdown=True)
@ -196,4 +196,4 @@ class TestAutoClustering(unittest.TestCase):
os.remove(filename)
if __name__ == "__main__":
unittest.main(verbosity=2)
unittest.main(verbosity=2)

Loading…
Cancel
Save