mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-27 19:17:47 +01:00
controller/blob: fix dropped test error
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
This commit is contained in:
parent
1449988353
commit
3fcefc8bda
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user