mirror of
https://github.com/goharbor/harbor
synced 2025-05-19 21:31:18 +00:00
test(quota): increase sleep time to fix fail of test
Increase the sleep time to fix the fail in TestGetReservedResources of quota Signed-off-by: He Weiwei <hweiwei@vmware.com>
This commit is contained in:
parent
4acb708938
commit
2e09e54b38
@ -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