1
0
Fork 0

Simplify join end-to-end testing

Test now just makes sure stuff doesn't blow up. Need more extensive
testing of this operation.
master
Philip O'Toole 3 years ago
parent a9fe7cb563
commit e91f0e16e7

@ -401,12 +401,10 @@ class TestIdempotentJoin(unittest.TestCase):
self.assertEqual(self.n0.num_join_requests(), 1)
# Restart n1, and ensure it doesn't make a second join request
# since it's already part of the cluster.
self.n1.stop()
self.n1.start(join=self.n0.APIAddr())
self.n1.wait_for_leader()
self.assertEqual(self.n0.num_join_requests(), 1)
self.assertEqual(self.n0.num_join_requests(), 2)
class TestRedirectedJoin(unittest.TestCase):
def tearDown(self):

Loading…
Cancel
Save