From f6897ab08f84d18e1c1ba5b5749b33109a6414f9 Mon Sep 17 00:00:00 2001 From: acbaez9 <97056049+acbaez9@users.noreply.github.com> Date: Tue, 6 Aug 2024 12:17:32 -0700 Subject: [PATCH] removed get_node_log test --- distributask/tests/tests.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/distributask/tests/tests.py b/distributask/tests/tests.py index 9632520..9a0c42c 100644 --- a/distributask/tests/tests.py +++ b/distributask/tests/tests.py @@ -383,23 +383,23 @@ def test_create_instance(mock_put): assert instance["new_contract"] == "instance1" -def test_get_node_log(): +# def test_get_node_log(): - distributask = create_from_config() +# distributask = create_from_config() - max_price = 0.5 - max_nodes = 1 - image = "antbaez/distributask-test-worker:latest" - module_name = "distributask.example.worker" +# max_price = 0.5 +# max_nodes = 1 +# image = "antbaez/distributask-test-worker" +# module_name = "distributask.example.worker" - nodes = distributask.rent_nodes(max_price, max_nodes, image, module_name) +# nodes = distributask.rent_nodes(max_price, max_nodes, image, module_name) - time.sleep(60) +# time.sleep(60) - response = distributask.get_node_log(nodes[0], wait_time=5) +# response = distributask.get_node_log(nodes[0], wait_time=5) - assert response is not None - assert response.status_code == 200 +# assert response is not None +# assert response.status_code == 200 from io import StringIO