Skip to content

Commit

Permalink
Fix expected error in reparent test.
Browse files Browse the repository at this point in the history
Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
  • Loading branch information
enisoc committed Oct 30, 2019
1 parent ef8b9f7 commit 5e39eef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/reparent.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def test_reparent_down_master(self):
'-keyspace_shard', 'test_keyspace/0',
'-new_master', tablet_62044.tablet_alias],
expect_fail=True)
self.assertIn('DemoteMaster failed', stderr)
self.assertIn('replication must be healthy to perform planned reparent', stderr)

# Run forced reparent operation, this should now proceed unimpeded.
utils.run_vtctl(['EmergencyReparentShard',
Expand Down

0 comments on commit 5e39eef

Please sign in to comment.