Merge pull request #13668 from danfengliu/debug_proxy-cache-e2e-test

fix proxy cache e2e test
This commit is contained in:
Daniel Jiang 2020-12-02 20:23:15 +08:00 committed by GitHub
commit b21f490adc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -114,7 +114,7 @@ class DockerAPI(object):
expected_error_message = None
ret = ""
try:
self.DCLIENT.pull(r'{}:{}'.format(image, _tag))
ret = self.DCLIENT.pull(r'{}:{}'.format(image, _tag))
return ret
except Exception as err:
if expected_error_message is not None:

View File

@ -21,6 +21,10 @@ Test Case - Garbage Collection
[Tags] gc
Harbor API Test ./tests/apitests/python/test_garbage_collection.py
Test Case - Proxy Cache
[Tags] proxy_cache
Harbor API Test ./tests/apitests/python/test_proxy_cache.py
Test Case - Add Private Project Member and Check User Can See It
[Tags] private_member
Harbor API Test ./tests/apitests/python/test_add_member_to_private_project.py
@ -145,10 +149,6 @@ Test Case - Replication From Dockerhub
[Tags] replic_dockerhub
Harbor API Test ./tests/apitests/python/test_replication_from_dockerhub.py
Test Case - Proxy Cache
[Tags] proxy_cache
Harbor API Test ./tests/apitests/python/test_proxy_cache.py
Test Case - Tag Immutability
[Tags] tag_immutability
Harbor API Test ./tests/apitests/python/test_tag_immutability.py