diff options
author | Peter Stachowski <peter@tesora.com> | 2016-09-21 15:04:28 +0000 |
---|---|---|
committer | Amrith Kumar <amrith@tesora.com> | 2016-09-22 15:15:27 -0400 |
commit | 345a7eb196ab0b9fcfd55c2c5b6f573d9b4e2caa (patch) | |
tree | 8884cfe0d6e9331525676a3fdc1c0de77a22eef1 | |
parent | 43068a8194e2d87c4cfb2d0215f193897040af13 (diff) | |
download | trove-6.0.0.0rc2.tar.gz |
Skip 'eject valid master' replication test6.0.0.0rc26.0.0
This test was skipped in the scenario runs however it was
not disabled in the original api tests. Although it
doesn't fail as often there it still happens, so the
same change has been applied to it.
See: https://review.openstack.org/#/c/368230
The test will also print out the bug number during each run
as a reminder (using the new SkipKnownBug method).
Change-Id: I931d6d72a70cc93dcd8248d9840eadf1160b9bab
Related-Bug: #1622014
(cherry picked from commit e89dfbd51d4cad01a2ad701e9300ccfe6e7eac5a)
-rw-r--r-- | trove/tests/api/replication.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/trove/tests/api/replication.py b/trove/tests/api/replication.py index 44f3de3d..6596ba61 100644 --- a/trove/tests/api/replication.py +++ b/trove/tests/api/replication.py @@ -30,6 +30,8 @@ from trove.tests.api.instances import TIMEOUT_INSTANCE_CREATE from trove.tests.api.instances import TIMEOUT_INSTANCE_DELETE from trove.tests.api.instances import WaitForGuestInstallationToFinish from trove.tests.config import CONFIG +from trove.tests.scenario import runners +from trove.tests.scenario.runners.test_runners import SkipKnownBug from trove.tests.util.server_connection import create_server_connection @@ -267,9 +269,11 @@ class TestReplicationFailover(object): if CONFIG.fake_mode: raise SkipTest("eject_replica_source not supported in fake mode") - assert_raises(exceptions.BadRequest, - instance_info.dbaas.instances.eject_replica_source, - instance_info.id) + # assert_raises(exceptions.BadRequest, + # instance_info.dbaas.instances.eject_replica_source, + # instance_info.id) + # Uncomment once BUG_EJECT_VALID_MASTER is fixed + raise SkipKnownBug(runners.BUG_EJECT_VALID_MASTER) @test(depends_on=[test_promote_master, test_eject_slave, test_eject_valid_master]) |