Signed-off-by: Artem Vdovin <arte.vdovin@gmail.com>
pull/30984/head
Artem Vdovin 2 weeks ago
parent aaaa457f04
commit ae4af69b9d

@ -132,7 +132,7 @@ func TestConcurrenyDownloadIndex(t *testing.T) {
defer wg.Done() defer wg.Done()
idx, err := repo.DownloadIndexFile() idx, err := repo.DownloadIndexFile()
if err != nil { if err != nil {
t.Fatalf("Failed to download index file to %s: %v", idx, err) t.Errorf("Failed to download index file to %s: %v", idx, err)
} }
}() }()
@ -141,7 +141,7 @@ func TestConcurrenyDownloadIndex(t *testing.T) {
defer wg.Done() defer wg.Done()
_, err := LoadIndexFile(indexFName) _, err := LoadIndexFile(indexFName)
if err != nil { if err != nil {
t.Fatalf("Failed to load index file: %v", err) t.Errorf("Failed to load index file: %v", err)
} }
}() }()
} }

Loading…
Cancel
Save