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:
He Weiwei 2020-12-10 11:23:38 +00:00
parent 4acb708938
commit 2e09e54b38

View File

@ -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)