Fix test by add time
Dev Version / Release (push) Failing after 5m27s Details

This commit is contained in:
kekskurse 2023-10-30 11:19:06 +01:00
parent 7b6df24e29
commit d5baef80cc
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ func TestUnlimitBucket(t *testing.T) {
for _, ts := range tt {
t.Run(ts.Name, func(t *testing.T) {
bucket := UnlimitBucket{}
bucket.start = time.Time{}
bucket.end = time.Now()
for _, f := range ts.Files {
err := bucket.AddFile(f)