Skip to content

Commit

Permalink
Merge branch 'chore/introduce_prometheus_counter_for_presigned_urls' …
Browse files Browse the repository at this point in the history
…of github.com:uc-cdis/fence into chore/introduce_prometheus_counter_for_presigned_urls
  • Loading branch information
themarcelor committed May 17, 2021
2 parents db9af96 + 7971465 commit 805d660
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/data/test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def test_indexd_download_file(


@pytest.mark.parametrize("indexd_client", ["s3"], indirect=True)
def test_indexd_download_file(
def test_indexd_prometheus_presigned_url_counter(
app,
client,
oauth_client,
Expand All @@ -103,7 +103,7 @@ def test_indexd_download_file(
google_signed_url,
):
"""
Test ``GET /data/download/1``.
Test that when a user requests a presigned URL, the prometheus counter is increased.
"""
before = (
app.prometheus_registry.get_sample_value(
Expand Down

0 comments on commit 805d660

Please sign in to comment.