mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-23 02:35:17 +01:00
Fix failure on GC test case
As the changes on scan all, the default schedule was removed from source code, hence the gc job should be the first admin job, to change to job id to 1. Signed-off-by: wang yan <wangyan@vmware.com>
This commit is contained in:
parent
a745922b77
commit
2ef11c396a
@ -58,7 +58,7 @@ Test Case - Garbage Collection
|
||||
Sleep 1
|
||||
Wait Until Page Contains Finished
|
||||
|
||||
${rc} ${output}= Run And Return Rc And Output curl -u ${HARBOR_ADMIN}:${HARBOR_PASSWORD} -s --insecure -H "Content-Type: application/json" -X GET "https://${ip}/api/system/gc/2/log"
|
||||
${rc} ${output}= Run And Return Rc And Output curl -u ${HARBOR_ADMIN}:${HARBOR_PASSWORD} -i --insecure -H "Content-Type: application/json" -X GET "https://${ip}/api/system/gc/1/log"
|
||||
Log To Console ${output}
|
||||
Should Be Equal As Integers ${rc} 0
|
||||
Should Contain ${output} 3 blobs eligible for deletion
|
||||
|
Loading…
Reference in New Issue
Block a user