Skip to content

Commit a00d925

Browse files
committed
test(e2e): add monitors("test-app") tag to test-app scheduled tests
Extends the monitors marker to the three test-app e2e tests so they route to a test-app Better Stack monitor independently from the SDK health checks.
1 parent fadc081 commit a00d925

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/aignostics/platform/e2e_test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,7 @@ def _find_and_validate(
500500
@pytest.mark.e2e
501501
@pytest.mark.very_long_running
502502
@pytest.mark.scheduled_only
503+
@pytest.mark.monitors("test-app")
503504
@pytest.mark.timeout(timeout=TEST_APPLICATION_SUBMIT_AND_WAIT_TIMEOUT_SECONDS + 60 * 5)
504505
def test_platform_test_app_submit_and_wait(record_property) -> None:
505506
"""Test application runs with the test application.
@@ -558,6 +559,7 @@ def test_platform_heta_app_submit_and_wait(record_property) -> None:
558559

559560
@pytest.mark.skip(reason="Using submit and wait approach")
560561
@pytest.mark.e2e
562+
@pytest.mark.monitors("test-app")
561563
@pytest.mark.timeout(timeout=TEST_APPLICATION_SUBMIT_AND_FIND_SUBMIT_TIMEOUT_SECONDS)
562564
def test_platform_test_app_submit() -> None:
563565
"""Test application submission with the test application.
@@ -581,6 +583,7 @@ def test_platform_test_app_submit() -> None:
581583

582584
@pytest.mark.e2e
583585
@pytest.mark.scheduled_only
586+
@pytest.mark.monitors("test-app")
584587
@pytest.mark.timeout(timeout=TEST_APPLICATION_FIND_AND_VALIDATE_TIMEOUT_SECONDS)
585588
def test_platform_test_app_find_and_validate() -> None:
586589
"""Test application runs with the test application.

0 commit comments

Comments
 (0)