mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
Spelling: Even spelling can be tested
This commit is contained in:
+1
-1
@@ -167,7 +167,7 @@ class TestHa(unittest.TestCase):
|
|||||||
|
|
||||||
def test_demote_after_failing_to_obtain_lock(self):
|
def test_demote_after_failing_to_obtain_lock(self):
|
||||||
self.ha.acquire_lock = false
|
self.ha.acquire_lock = false
|
||||||
self.assertEquals(self.ha.run_cycle(), 'demoted self due after trying and failing to obtain lock')
|
self.assertEquals(self.ha.run_cycle(), 'demoted self after trying and failing to obtain lock')
|
||||||
|
|
||||||
def test_follow_new_leader_after_failing_to_obtain_lock(self):
|
def test_follow_new_leader_after_failing_to_obtain_lock(self):
|
||||||
self.ha.is_healthiest_node = true
|
self.ha.is_healthiest_node = true
|
||||||
|
|||||||
Reference in New Issue
Block a user