Skip to content

Commit

Permalink
Fix request ssl error
Browse files Browse the repository at this point in the history
  • Loading branch information
phoebusm committed Mar 8, 2024
1 parent ef83fff commit a0afb1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions python/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,9 @@ def s3_store_factory_mock_storage_exception(lib_name, s3_storage):
# The following interger is for how many requests until 503 repsonse is sent
# -1 means the 503 response is disabled
# Setting persisted throughout the lifetime of moto server, so it needs to be reset
requests.post(endpoint + "/rate_limit", b"0").raise_for_status()
requests.post(endpoint + "/rate_limit", b"0", verify=False).raise_for_status()
yield lib
requests.post(endpoint + "/rate_limit", b"-1").raise_for_status()
requests.post(endpoint + "/rate_limit", b"-1", verify=False).raise_for_status()


@pytest.fixture
Expand Down
2 changes: 1 addition & 1 deletion python/tests/integration/arcticdb/test_arctic.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def _get_s3_storage_config(cfg):
assert s3_storage.max_connections == 0
assert s3_storage.connect_timeout == 0
assert s3_storage.request_timeout == 0
assert s3_storage.ssl
assert not s3_storage.ssl
assert s3_storage.prefix.startswith("test")
assert not s3_storage.https
assert s3_storage.region == ""
Expand Down

0 comments on commit a0afb1d

Please sign in to comment.