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:
Daniel Jiang 2020-12-11 12:49:01 +08:00 committed by GitHub
commit fc94da54c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)