Skip to content

Commit

Permalink
[cherry-pick]Fix APITEST_DB_PROXY_CACHE x509 (#18979)
Browse files Browse the repository at this point in the history
Fix APITEST_DB_PROXY_CACHE x509

Fix APITEST_DB_PROXY_CACHE x509, Because cicd.harbor.vmwarecna uses a self-signed certificate.

Signed-off-by: Yang Jiao <[email protected]>
  • Loading branch information
YangJiao0817 authored Jul 24, 2023
1 parent 9269602 commit 9a63e80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/apitests/python/test_proxy_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def do_validate(self, registry_type):
registry = "https://cicd.harbor.vmwarecna.net"
index_for_ctr = dict(image = "busybox", tag = "1.32.0")

registry_id, _ = self.registry.create_registry(registry, name=_random_name(registry_type), registry_type=registry_type, access_key = access_key, access_secret = access_secret, insecure=False, **ADMIN_CLIENT)
registry_id, _ = self.registry.create_registry(registry, name=_random_name(registry_type), registry_type=registry_type, access_key = access_key, access_secret = access_secret, insecure=True, **ADMIN_CLIENT)

print("registry_id:", registry_id)

Expand Down

0 comments on commit 9a63e80

Please sign in to comment.