-
Notifications
You must be signed in to change notification settings - Fork 18
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
base: master
Are you sure you want to change the base?
Conversation
593b93e
to
b85fb82
Compare
@@ -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: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Separate fix.
There was a problem hiding this comment.
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") |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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>
b85fb82
to
24961f2
Compare
closes #938