Skip to content

Commit

Permalink
Fix APITEST_DB_PROXY_CACHE x509
Browse files Browse the repository at this point in the history
Fix APITEST_DB_PROXY_CACHE x509, Because cicd.harbor.vmwarecna uses a self-signed certificate.

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
  • Loading branch information
Yang Jiao committed Jul 24, 2023
1 parent b380b78 commit b3913cc
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 b3913cc

Please sign in to comment.