From 89a31a695bfa275f39bc486f7dd6862483d9a4a7 Mon Sep 17 00:00:00 2001 From: Yaroslava Lukoyanova Date: Mon, 17 Jul 2023 09:26:58 +0300 Subject: [PATCH] Skipped HTTP GW cases with PUT 'cause of feature deprecation --- .../testsuites/services/http_gate/test_http_gate.py | 6 ++++-- .../testsuites/services/http_gate/test_http_headers.py | 1 + .../testsuites/services/http_gate/test_http_streaming.py | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pytest_tests/testsuites/services/http_gate/test_http_gate.py b/pytest_tests/testsuites/services/http_gate/test_http_gate.py index 90aa437..1c0fa8c 100644 --- a/pytest_tests/testsuites/services/http_gate/test_http_gate.py +++ b/pytest_tests/testsuites/services/http_gate/test_http_gate.py @@ -99,6 +99,7 @@ class TestHttpGate(ClusterTestBase): @allure.link("https://github.com/TrueCloudLab/frostfs-http-gw#uploading", name="uploading") @allure.link("https://github.com/TrueCloudLab/frostfs-http-gw#downloading", name="downloading") @allure.title("Test Put over HTTP, Get over HTTP") + @pytest.mark.skip("Skipped due to deprecated PUT via http") @pytest.mark.smoke def test_put_http_get_http(self, complex_object_size: int, simple_object_size: int): """ @@ -147,6 +148,7 @@ class TestHttpGate(ClusterTestBase): "https://github.com/TrueCloudLab/frostfs-http-gw#by-attributes", name="download by attributes", ) + @pytest.mark.skip("Skipped due to deprecated PUT via http") @allure.title("Test Put over HTTP, Get over HTTP with headers") @pytest.mark.parametrize( "attributes", @@ -285,7 +287,7 @@ class TestHttpGate(ClusterTestBase): assert get_file_hash(f"{dir_path}/file2") == get_file_hash(file_path_large) @pytest.mark.long - @pytest.mark.skip("Temp disable for v0.37") + @pytest.mark.skip("Skipped due to deprecated PUT via http") @allure.title("Test Put over HTTP/Curl, Get over HTTP/Curl for large object") def test_put_http_get_http_large_file(self, complex_object_size: int): """ @@ -333,7 +335,7 @@ class TestHttpGate(ClusterTestBase): object_getter=get_via_http_curl, ) - @pytest.mark.skip("Temp disable for v0.37") + @pytest.mark.skip("Skipped due to deprecated PUT via http") @allure.title("Test Put/Get over HTTP using Curl utility") def test_put_http_get_http_curl(self, complex_object_size: int, simple_object_size: int): """ diff --git a/pytest_tests/testsuites/services/http_gate/test_http_headers.py b/pytest_tests/testsuites/services/http_gate/test_http_headers.py index 496d9b7..a6a26c5 100644 --- a/pytest_tests/testsuites/services/http_gate/test_http_headers.py +++ b/pytest_tests/testsuites/services/http_gate/test_http_headers.py @@ -168,6 +168,7 @@ class Test_http_headers(ClusterTestBase): ) @allure.title("[Negative] Try to put object and get right after container is deleted") + @pytest.mark.skip("Skipped due to deprecated PUT via http") def test_negative_put_and_get_object3( self, storage_objects_with_attributes: list[StorageObjectInfo] ): diff --git a/pytest_tests/testsuites/services/http_gate/test_http_streaming.py b/pytest_tests/testsuites/services/http_gate/test_http_streaming.py index 2c0db7c..a537369 100644 --- a/pytest_tests/testsuites/services/http_gate/test_http_streaming.py +++ b/pytest_tests/testsuites/services/http_gate/test_http_streaming.py @@ -27,7 +27,7 @@ class Test_http_streaming(ClusterTestBase): [pytest.lazy_fixture("complex_object_size")], ids=["complex object"], ) - @pytest.mark.skip("Temp disable for v0.37") + @pytest.mark.skip("Skipped due to deprecated PUT via http") def test_object_can_be_put_get_by_streaming(self, object_size: int): """ Test that object can be put using gRPC interface and get using HTTP.