[#273] Add new mark session_logs #273
2 changed files with 3 additions and 1 deletions
|
@ -67,3 +67,4 @@ markers =
|
||||||
ec_replication: replication EC
|
ec_replication: replication EC
|
||||||
static_session_container: tests for a static session in a container
|
static_session_container: tests for a static session in a container
|
||||||
shard: shard management tests
|
shard: shard management tests
|
||||||
|
session_logs: check logs messages
|
||||||
|
|
|
@ -20,8 +20,9 @@ def pytest_generate_tests(metafunc: pytest.Metafunc):
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.logs_after_session
|
@pytest.mark.session_logs
|
||||||
class TestLogs:
|
class TestLogs:
|
||||||
|
@pytest.mark.logs_after_session
|
||||||
@pytest.mark.order(1000)
|
@pytest.mark.order(1000)
|
||||||
@allure.title("Check logs from frostfs-testcases with marks '{request.config.option.markexpr}' - search errors")
|
@allure.title("Check logs from frostfs-testcases with marks '{request.config.option.markexpr}' - search errors")
|
||||||
def test_logs_search_errors(self, temp_directory: str, cluster: Cluster, session_start_time: datetime, request: pytest.FixtureRequest):
|
def test_logs_search_errors(self, temp_directory: str, cluster: Cluster, session_start_time: datetime, request: pytest.FixtureRequest):
|
||||||
|
|
Loading…
Reference in a new issue