Skip to content

Commit

Permalink
Catch and report session scope fixture teardown failures in a separat…
Browse files Browse the repository at this point in the history
…ed dedicated test case (#4613)


Signed-off-by: Elad Ben Aharon <[email protected]>
  • Loading branch information
ebenahar authored Jul 28, 2021
1 parent ab05df7 commit 65339ca
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def add_capacity_test():
@tier1
@acceptance
@polarion_id("OCS-1191")
@pytest.mark.last
@pytest.mark.second_to_last
@skipif_openshift_dedicated
@skipif_aws_i3
@skipif_bm
Expand Down
15 changes: 15 additions & 0 deletions tests/test_failure_propagator.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import pytest

from ocs_ci.framework.pytest_customization.marks import tier1


@tier1
@pytest.mark.last
class TestFailurePropagator:
"""
Test class for failure propagator test case. The test intention is to run last and propagate
teardown failures caught during the test execution, so regular test cases won't false negatively fail
"""

def test_failure_propagator(self):
pass

0 comments on commit 65339ca

Please sign in to comment.