mirror of
https://github.com/goharbor/harbor
synced 2025-04-27 21:36:13 +00:00
Merge pull request #13728 from heww/fix-ut-for-get-reserved-resources
test(quota): increase sleep time to fix fail of test
This commit is contained in:
commit
fc94da54c1
@ -85,7 +85,7 @@ func (suite *ControllerTestSuite) TestGetReservedResources() {
|
||||
suite.Len(resources, 1)
|
||||
}
|
||||
|
||||
time.Sleep(reservedExpiration)
|
||||
time.Sleep(reservedExpiration * 2)
|
||||
|
||||
{
|
||||
resources, err := ctl.getReservedResources(context.TODO(), reference, referenceID)
|
||||
|
Loading…
x
Reference in New Issue
Block a user