Temp disable curl upload for complex objects
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
This commit is contained in:
parent
5acf19592a
commit
79a60c5e5b
5 changed files with 18 additions and 4 deletions
|
@ -20,6 +20,7 @@ from frostfs_testlib.utils.file_utils import generate_file
|
||||||
logger = logging.getLogger("NeoLogger")
|
logger = logging.getLogger("NeoLogger")
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.skip("Temporarly skip for v0.37")
|
||||||
@pytest.mark.sanity
|
@pytest.mark.sanity
|
||||||
@pytest.mark.http_gate
|
@pytest.mark.http_gate
|
||||||
class Test_http_bearer(ClusterTestBase):
|
class Test_http_bearer(ClusterTestBase):
|
||||||
|
@ -91,6 +92,7 @@ class Test_http_bearer(ClusterTestBase):
|
||||||
error_pattern="access to object operation denied",
|
error_pattern="access to object operation denied",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@pytest.mark.skip("Temp disable for v0.37")
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
"object_size",
|
"object_size",
|
||||||
[pytest.lazy_fixture("simple_object_size"), pytest.lazy_fixture("complex_object_size")],
|
[pytest.lazy_fixture("simple_object_size"), pytest.lazy_fixture("complex_object_size")],
|
||||||
|
|
|
@ -285,6 +285,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")
|
||||||
@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):
|
||||||
"""
|
"""
|
||||||
|
@ -332,6 +333,7 @@ class TestHttpGate(ClusterTestBase):
|
||||||
object_getter=get_via_http_curl,
|
object_getter=get_via_http_curl,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@pytest.mark.skip("Temp disable for v0.37")
|
||||||
@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):
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -47,9 +47,12 @@ class Test_http_headers(ClusterTestBase):
|
||||||
@pytest.fixture(
|
@pytest.fixture(
|
||||||
params=[
|
params=[
|
||||||
pytest.lazy_fixture("simple_object_size"),
|
pytest.lazy_fixture("simple_object_size"),
|
||||||
pytest.lazy_fixture("complex_object_size"),
|
# TODO: Temp disable for v0.37
|
||||||
|
# pytest.lazy_fixture("complex_object_size"),
|
||||||
],
|
],
|
||||||
ids=["simple object", "complex object"],
|
# TODO: Temp disable for v0.37
|
||||||
|
# ids=["simple object", "complex object"],
|
||||||
|
ids=["simple object"],
|
||||||
scope="class",
|
scope="class",
|
||||||
)
|
)
|
||||||
def storage_objects_with_attributes(self, request: FixtureRequest) -> list[StorageObjectInfo]:
|
def storage_objects_with_attributes(self, request: FixtureRequest) -> list[StorageObjectInfo]:
|
||||||
|
|
|
@ -27,6 +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")
|
||||||
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.
|
||||||
|
|
|
@ -209,6 +209,7 @@ class Test_http_system_header(ClusterTestBase):
|
||||||
[pytest.lazy_fixture("simple_object_size"), pytest.lazy_fixture("complex_object_size")],
|
[pytest.lazy_fixture("simple_object_size"), pytest.lazy_fixture("complex_object_size")],
|
||||||
ids=["simple object", "complex object"],
|
ids=["simple object", "complex object"],
|
||||||
)
|
)
|
||||||
|
@pytest.mark.skip("Temp disable for v0.37")
|
||||||
def test_http_attr_priority_epoch_duration(
|
def test_http_attr_priority_epoch_duration(
|
||||||
self, user_container: str, object_size: int, epoch_duration: int
|
self, user_container: str, object_size: int, epoch_duration: int
|
||||||
):
|
):
|
||||||
|
@ -256,6 +257,7 @@ class Test_http_system_header(ClusterTestBase):
|
||||||
[pytest.lazy_fixture("simple_object_size"), pytest.lazy_fixture("complex_object_size")],
|
[pytest.lazy_fixture("simple_object_size"), pytest.lazy_fixture("complex_object_size")],
|
||||||
ids=["simple object", "complex object"],
|
ids=["simple object", "complex object"],
|
||||||
)
|
)
|
||||||
|
@pytest.mark.skip("Temp disable for v0.37")
|
||||||
def test_http_attr_priority_dur_timestamp(
|
def test_http_attr_priority_dur_timestamp(
|
||||||
self, user_container: str, object_size: int, epoch_duration: int
|
self, user_container: str, object_size: int, epoch_duration: int
|
||||||
):
|
):
|
||||||
|
@ -310,6 +312,7 @@ class Test_http_system_header(ClusterTestBase):
|
||||||
[pytest.lazy_fixture("simple_object_size"), pytest.lazy_fixture("complex_object_size")],
|
[pytest.lazy_fixture("simple_object_size"), pytest.lazy_fixture("complex_object_size")],
|
||||||
ids=["simple object", "complex object"],
|
ids=["simple object", "complex object"],
|
||||||
)
|
)
|
||||||
|
@pytest.mark.skip("Temp disable for v0.37")
|
||||||
def test_http_attr_priority_timestamp_rfc(
|
def test_http_attr_priority_timestamp_rfc(
|
||||||
self, user_container: str, object_size: int, epoch_duration: int
|
self, user_container: str, object_size: int, epoch_duration: int
|
||||||
):
|
):
|
||||||
|
@ -359,8 +362,11 @@ class Test_http_system_header(ClusterTestBase):
|
||||||
@allure.title("Test that object is automatically delete when expiration passed")
|
@allure.title("Test that object is automatically delete when expiration passed")
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
"object_size",
|
"object_size",
|
||||||
[pytest.lazy_fixture("simple_object_size"), pytest.lazy_fixture("complex_object_size")],
|
# TODO: Temp disabled for v0.37
|
||||||
ids=["simple object", "complex object"],
|
# [pytest.lazy_fixture("simple_object_size"), pytest.lazy_fixture("complex_object_size")],
|
||||||
|
[pytest.lazy_fixture("simple_object_size")],
|
||||||
|
# ids=["simple object", "complex object"],
|
||||||
|
ids=["simple object"],
|
||||||
)
|
)
|
||||||
def test_http_rfc_object_unavailable_after_expir(
|
def test_http_rfc_object_unavailable_after_expir(
|
||||||
self, user_container: str, object_size: int, epoch_duration: int
|
self, user_container: str, object_size: int, epoch_duration: int
|
||||||
|
|
Loading…
Reference in a new issue