Skipped HTTP GW cases with PUT 'cause of feature deprecation

This commit is contained in:
Yaroslava Lukoyanova 2023-07-17 09:26:58 +03:00 committed by ylukoyan
parent 0ad2532e04
commit 89a31a695b
3 changed files with 6 additions and 3 deletions

View file

@ -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#uploading", name="uploading")
@allure.link("https://github.com/TrueCloudLab/frostfs-http-gw#downloading", name="downloading") @allure.link("https://github.com/TrueCloudLab/frostfs-http-gw#downloading", name="downloading")
@allure.title("Test Put over HTTP, Get over HTTP") @allure.title("Test Put over HTTP, Get over HTTP")
@pytest.mark.skip("Skipped due to deprecated PUT via http")
@pytest.mark.smoke @pytest.mark.smoke
def test_put_http_get_http(self, complex_object_size: int, simple_object_size: int): 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", "https://github.com/TrueCloudLab/frostfs-http-gw#by-attributes",
name="download 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") @allure.title("Test Put over HTTP, Get over HTTP with headers")
@pytest.mark.parametrize( @pytest.mark.parametrize(
"attributes", "attributes",
@ -285,7 +287,7 @@ class TestHttpGate(ClusterTestBase):
assert get_file_hash(f"{dir_path}/file2") == get_file_hash(file_path_large) assert get_file_hash(f"{dir_path}/file2") == get_file_hash(file_path_large)
@pytest.mark.long @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") @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): 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, 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") @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): def test_put_http_get_http_curl(self, complex_object_size: int, simple_object_size: int):
""" """

View file

@ -168,6 +168,7 @@ class Test_http_headers(ClusterTestBase):
) )
@allure.title("[Negative] Try to put object and get right after container is deleted") @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( def test_negative_put_and_get_object3(
self, storage_objects_with_attributes: list[StorageObjectInfo] self, storage_objects_with_attributes: list[StorageObjectInfo]
): ):

View file

@ -27,7 +27,7 @@ class Test_http_streaming(ClusterTestBase):
[pytest.lazy_fixture("complex_object_size")], [pytest.lazy_fixture("complex_object_size")],
ids=["complex object"], 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): 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. Test that object can be put using gRPC interface and get using HTTP.