mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-12 10:50:44 +01:00
Merge pull request #6165 from wy65701436/fix-gc-tc
Fix failure on GC test case
This commit is contained in:
commit
b2b411ce1c
@ -58,7 +58,7 @@ Test Case - Garbage Collection
|
|||||||
Sleep 1
|
Sleep 1
|
||||||
Wait Until Page Contains Finished
|
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}
|
Log To Console ${output}
|
||||||
Should Be Equal As Integers ${rc} 0
|
Should Be Equal As Integers ${rc} 0
|
||||||
Should Contain ${output} 3 blobs eligible for deletion
|
Should Contain ${output} 3 blobs eligible for deletion
|
||||||
|
Loading…
Reference in New Issue
Block a user