mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-24 01:27:49 +01:00
Merge pull request #11577 from danfengliu/modify-quotas-prompt-info
Modify quota error info due to product changed
This commit is contained in:
commit
dd55cdc51a
@ -138,7 +138,7 @@ Docker Login Fail
|
|||||||
[Arguments] ${ip} ${user} ${pwd}
|
[Arguments] ${ip} ${user} ${pwd}
|
||||||
Log To Console \nRunning docker login ${ip} ...
|
Log To Console \nRunning docker login ${ip} ...
|
||||||
${output}= Command Should be Failed docker login -u ${user} -p ${pwd} ${ip}
|
${output}= Command Should be Failed docker login -u ${user} -p ${pwd} ${ip}
|
||||||
Should Contain ${output} 401 Unauthorized
|
Should Contain ${output} unauthorized
|
||||||
Should Not Contain ${output} 500 Internal Server Error
|
Should Not Contain ${output} 500 Internal Server Error
|
||||||
|
|
||||||
Docker Login
|
Docker Login
|
||||||
|
@ -480,7 +480,7 @@ Test Case - Project Storage Quotas Dispaly And Control
|
|||||||
Push Image With Tag ${ip} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} project${d} ${image_b} tag=${image_b_ver} tag1=${image_b_ver}
|
Push Image With Tag ${ip} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} project${d} ${image_b} tag=${image_b_ver} tag1=${image_b_ver}
|
||||||
${storage_quota_ret}= Get Project Storage Quota Text From Project Quotas List project${d}
|
${storage_quota_ret}= Get Project Storage Quota Text From Project Quotas List project${d}
|
||||||
Should Be Equal As Strings ${storage_quota_ret} ${image_b_size} of ${storage_quota}${storage_quota_unit}
|
Should Be Equal As Strings ${storage_quota_ret} ${image_b_size} of ${storage_quota}${storage_quota_unit}
|
||||||
Cannot Push image ${ip} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} project${d} ${image_a}:${image_a_ver} err_msg=Quota exceeded when processing the request of adding 25.8 MiB of storage resource, which when updated to current usage of 329.3 MiB will exceed the configured upper limit of 330.0 MiB
|
Cannot Push image ${ip} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} project${d} ${image_a}:${image_a_ver} err_msg=adding 25.8 MiB of storage resource, which when updated to current usage of 329.3 MiB will exceed the configured upper limit of 330.0 MiB
|
||||||
Go Into Project project${d}
|
Go Into Project project${d}
|
||||||
Delete Repo project${d}/${image_b}
|
Delete Repo project${d}/${image_b}
|
||||||
Push Image With Tag ${ip} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} project${d} ${image_a} tag=${image_a_ver} tag1=${image_a_ver}
|
Push Image With Tag ${ip} ${HARBOR_ADMIN} ${HARBOR_PASSWORD} project${d} ${image_a} tag=${image_a_ver} tag1=${image_a_ver}
|
||||||
|
Loading…
Reference in New Issue
Block a user