Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: add test for rest gw metrics #977

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

evgeniiz321
Copy link
Contributor

closes #938

@evgeniiz321 evgeniiz321 force-pushed the ezayats/rest-gw branch 2 times, most recently from 593b93e to b85fb82 Compare March 12, 2025 22:19
@@ -183,7 +183,7 @@ def upload_via_rest_gate(
assert match, f"Expected {resp.text} to match {error_pattern}"
return ""
raise Exception(
f"""Failed to get object via REST gate:
f"""Failed to put object via REST gate:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Separate fix.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed

@@ -331,3 +341,69 @@ def test_s3_gw_metrics(neofs_env_single_sn: NeoFSEnv, s3_boto_client):
# assert after_metrics_s3_gw["neofs_s3_version"][0]["params"]["version"] == neofs_s3_version, (
# "invalid value for neofs_s3_version"
# )


@pytest.mark.skip(reason="https://github.com/nspcc-dev/neofs-rest-gw/issues/274")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can omit some specific metric instead of a whole test?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

closes #938

Signed-off-by: Evgeniy Zayats <zayatsevgeniy@nspcc.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tests for REST GW metrics
2 participants