Skip to content

Commit

Permalink
Add turquoise_squad to DR test cases (#8846)
Browse files Browse the repository at this point in the history
Signed-off-by: Elad Ben Aharon <[email protected]>
  • Loading branch information
ebenahar authored Nov 15, 2023
1 parent c5b1de8 commit 7c91863
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/disaster-recovery/mdr/test_app_failover_and_relocate.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
failover_relocate_ui,
verify_failover_relocate_status_ui,
)
from ocs_ci.framework.pytest_customization.marks import turquoise_squad
from ocs_ci.utility import version

logger = logging.getLogger(__name__)
Expand All @@ -38,6 +39,7 @@


@tier1
@turquoise_squad
class TestApplicationFailoverAndRelocate:
"""
Test Failover and Relocate actions for application
Expand Down
2 changes: 2 additions & 0 deletions tests/disaster-recovery/regional-dr/test_failover.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

from ocs_ci.framework import config
from ocs_ci.framework.testlib import acceptance, tier1
from ocs_ci.framework.pytest_customization.marks import turquoise_squad
from ocs_ci.helpers import dr_helpers
from ocs_ci.helpers.dr_helpers_ui import (
dr_submariner_validation_from_ui,
Expand All @@ -29,6 +30,7 @@

@acceptance
@tier1
@turquoise_squad
class TestFailover:
"""
Test Failover action
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import pytest

from ocs_ci.framework import config
from ocs_ci.framework.pytest_customization.marks import turquoise_squad
from ocs_ci.framework.testlib import acceptance, tier1
from ocs_ci.helpers import dr_helpers
from ocs_ci.helpers.dr_helpers_ui import (
Expand Down Expand Up @@ -36,6 +37,7 @@
# This test case is added in ODF 4.13 test plan.


@turquoise_squad
@acceptance
@tier1
class TestFailoverAndRelocate:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

from ocs_ci.framework import config
from ocs_ci.framework.testlib import tier4, tier4b
from ocs_ci.framework.pytest_customization.marks import turquoise_squad
from ocs_ci.helpers import dr_helpers
from ocs_ci.ocs import constants
from ocs_ci.ocs.node import wait_for_nodes_status
Expand All @@ -23,6 +24,7 @@

@tier4
@tier4b
@turquoise_squad
class TestManagedClusterNodeFailure:
"""
Test to verify failure of node hosting important pods of different
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
rdr_ui_relocate_config_required,
)
from ocs_ci.framework.testlib import tier3, skipif_ocs_version
from ocs_ci.framework.pytest_customization.marks import turquoise_squad
from ocs_ci.helpers import dr_helpers
from ocs_ci.ocs import constants
from ocs_ci.ocs.acm.acm import AcmAddClusters
Expand All @@ -22,6 +23,7 @@


@tier3
@turquoise_squad
@skipif_ocs_version("<4.13")
class TestNegativeFailoverRelocate:
"""
Expand Down
2 changes: 2 additions & 0 deletions tests/disaster-recovery/regional-dr/test_relocate.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

from ocs_ci.framework import config
from ocs_ci.framework.testlib import acceptance, tier1
from ocs_ci.framework.pytest_customization.marks import turquoise_squad
from ocs_ci.helpers import dr_helpers
from ocs_ci.helpers.dr_helpers_ui import (
dr_submariner_validation_from_ui,
Expand All @@ -25,6 +26,7 @@

@acceptance
@tier1
@turquoise_squad
@pytest.mark.polarion_id(polarion_id_relocate)
class TestRelocate:
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

from ocs_ci.framework import config
from ocs_ci.framework.testlib import tier1
from ocs_ci.framework.pytest_customization.marks import turquoise_squad
from ocs_ci.helpers import dr_helpers
from ocs_ci.ocs.node import wait_for_nodes_status, get_node_objs
from ocs_ci.ocs.resources.pod import wait_for_pods_to_be_running
Expand All @@ -15,6 +16,7 @@


@tier1
@turquoise_squad
class TestSequentialFailover:
"""
Test Sequential Failover actions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@

from ocs_ci.framework import config
from ocs_ci.framework.testlib import tier1
from ocs_ci.framework.pytest_customization.marks import turquoise_squad
from ocs_ci.helpers import dr_helpers

logger = logging.getLogger(__name__)


@tier1
@turquoise_squad
@pytest.mark.polarion_id("OCS-4772")
class TestSequentialRelocate:
"""
Expand Down

0 comments on commit 7c91863

Please sign in to comment.