Skip to content

test error for rate limit #5487

@wyli

Description

@wyli
======================================================================
ERROR: test_get_bundle_versions_0 (tests.test_bundle_get_data.TestGetBundleData)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/conda/lib/python3.8/site-packages/parameterized/parameterized.py", line 533, in standalone_func
    return func(*(a + p.args), **p.kwargs)
  File "/__w/MONAI/MONAI/tests/test_bundle_get_data.py", line 44, in test_get_bundle_versions
    output = get_bundle_versions(**params)
  File "/__w/MONAI/MONAI/monai/bundle/scripts.py", line 421, in get_bundle_versions
    bundles_info = _get_all_bundles_info(repo=repo, tag=tag, auth_token=auth_token)
  File "/__w/MONAI/MONAI/monai/bundle/scripts.py", line 335, in _get_all_bundles_info
    resp.raise_for_status()
  File "/opt/conda/lib/python3.8/site-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: rate limit exceeded for url: https://api.github.com/repos/Project-MONAI/model-zoo/releases

this happens when there are frequent testing calls, I'll include a fix in #5486

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions