Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions tests/aignostics/platform/e2e_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,13 +224,6 @@ def _get_spots_payload_for_special(expires_seconds: int, count: int) -> list[pla
"disease": "LUNG_CANCER",
},
}
normalization_metadata = {
"checksum_base64_crc32c": SPOT_1_CRC32C,
"width_px": SPOT_1_WIDTH,
"height_px": SPOT_1_HEIGHT,
"resolution_mpp": SPOT_1_RESOLUTION_MPP,
"media_type": "image/tiff",
}
return [
platform.InputItem(
external_id=f"{SPOT_1_GS_URL}&spot_index={index}",
Expand All @@ -240,11 +233,6 @@ def _get_spots_payload_for_special(expires_seconds: int, count: int) -> list[pla
download_url=signed_url,
metadata=wsi_metadata,
),
platform.InputArtifact(
name="normalization:wsi",
download_url=signed_url,
metadata=normalization_metadata,
),
],
)
for index in range(count)
Expand Down Expand Up @@ -622,6 +610,7 @@ def test_platform_heta_app_submit() -> None:
@pytest.mark.e2e
@pytest.mark.stress_only
@pytest.mark.long_running
@pytest.mark.skipif(SPECIAL_APPLICATION_ID is None, reason="Special application not configured for this environment")
@pytest.mark.timeout(timeout=SPECIAL_APPLICATION_SUBMIT_AND_FIND_SUBMIT_TIMEOUT_SECONDS)
def test_platform_special_app_submit() -> None:
"""Test application runs with the special application.
Expand Down Expand Up @@ -690,6 +679,7 @@ def test_platform_special_app_submit() -> None:
@pytest.mark.stress_only
@pytest.mark.long_running
@pytest.mark.scheduled_only
@pytest.mark.skipif(SPECIAL_APPLICATION_ID is None, reason="Special application not configured for this environment")
@pytest.mark.timeout(timeout=SPECIAL_APPLICATION_FIND_AND_VALIDATE_TIMEOUT_SECONDS)
def test_platform_special_app_find_and_validate() -> None:
"""Test application runs with the special application.
Expand Down
8 changes: 4 additions & 4 deletions tests/constants_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@

case "staging":
TEST_APPLICATION_ID = "test-app"
TEST_APPLICATION_VERSION = "0.0.6"
TEST_APPLICATION_VERSION = "1.0.0"

HETA_APPLICATION_ID = "he-tme"
HETA_APPLICATION_VERSION = "1.1.0"
HETA_APPLICATION_VERSION = "1.1.1"
TEST_APPLICATION_VERSION_USE_LATEST_FALLBACK_SKIP = True

PIPELINE_GPU_TYPE = "L4"
Expand All @@ -108,8 +108,8 @@
PIPELINE_CPU_PROVISIONING_MODE = "SPOT"
PIPELINE_NODE_ACQUISITION_TIMEOUT_MINUTES = 30

SPECIAL_APPLICATION_ID = "test-app"
SPECIAL_APPLICATION_VERSION = "0.99.0"
SPECIAL_APPLICATION_ID = None
SPECIAL_APPLICATION_VERSION = None

SPOT_0_EXPECTED_RESULT_FILES = [
("tissue_qc_segmentation_map_image.tiff", 1642856, 10),
Expand Down
Loading