diff --git a/tests/test_create.py b/tests/test_create.py index cbb72235..4d034ad6 100644 --- a/tests/test_create.py +++ b/tests/test_create.py @@ -25,6 +25,7 @@ from typing import Set from unittest import mock +import aiohttp import pytest from kubernetes_asyncio.client import ( AppsV1Api, @@ -1214,7 +1215,7 @@ async def test_create_minimal(self, faker, namespace, kopf_runner, api_client): {f"crate-data-hot-{name}-0"}, ) - async def test_termination_grace_period( + async def test_decommission_settings( self, faker, namespace, kopf_runner, api_client ): apps = AppsV1Api(api_client) @@ -1636,3 +1637,11 @@ def test_get_cluster_resource_limits(node_spec, expected_limits_cpu): get_cluster_resource_limits(node_spec, resource_type="cpu", fallback_key="cpus") == expected_limits_cpu ) + + +@pytest.mark.asyncio +async def test_download_dc_util(): + url = "https://cdn.crate.io/downloads/dc_util_x86_64" + async with aiohttp.ClientSession() as session: + async with session.get(url) as response: + assert response.status == 200, f"Expected status 200, got {response.status}"