Skip to content
Merged
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
2 changes: 1 addition & 1 deletion src/integrity_tests/test_cloudrift.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def select_row(rows, name: str) -> list[str]:


def test_gpu_present(data_rows: list[dict]):
expected_gpus = [gpu for _, gpu in GPU_MAP]
expected_gpus = [gpu for _, gpu, _vendor in GPU_MAP]
gpus = select_row(data_rows, "gpu_name")
gpus = list(dict.fromkeys(gpus))
assert set(gpus).issubset(
Expand Down
6 changes: 4 additions & 2 deletions src/integrity_tests/test_runpod.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ def test_locations(data_rows):
"US",
}
locations = set(select_row(data_rows, "location"))
# Assert most are present. Some may be missing due to low availability
assert len(expected - locations) <= 3
# Assert most are present. Some may be missing due to low availability.
# TODO: CA-MTL-2 looks absent in recent live Runpod snapshots.
# Re-evaluate this expectation later and tighten back to <= 3.
assert len(expected - locations) <= 4


def test_spot(data_rows):
Expand Down
Loading