controller/blob: fix dropped test error

Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
This commit is contained in:
Lars Lehtonen 2022-03-29 09:08:39 -07:00
parent 1449988353
commit 3fcefc8bda
No known key found for this signature in database
GPG Key ID: 8137D474EBCB04F2

View File

@ -115,6 +115,7 @@ func (suite *ControllerTestSuite) TestCalculateTotalSizeByProject() {
func (suite *ControllerTestSuite) TestCalculateTotalSize() {
ctx := suite.Context()
size1, err := Ctl.CalculateTotalSize(ctx, true)
suite.Nil(err)
Ctl.Ensure(ctx, suite.DigestString(), schema2.MediaTypeForeignLayer, 100)
Ctl.Ensure(ctx, suite.DigestString(), schema2.MediaTypeLayer, 100)
size2, err := Ctl.CalculateTotalSize(ctx, false)