diff options
Diffstat (limited to 'bridge/gitlab/import_test.go')
-rw-r--r-- | bridge/gitlab/import_test.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bridge/gitlab/import_test.go b/bridge/gitlab/import_test.go index ac91610d..bed93a80 100644 --- a/bridge/gitlab/import_test.go +++ b/bridge/gitlab/import_test.go @@ -33,11 +33,8 @@ func TestGitlabImport(t *testing.T) { repo := repository.CreateGoGitTestRepo(t, false) - backend, buildEvents, err := cache.NewRepoCache(repo) + backend, err := cache.NewRepoCacheNoEvents(repo) require.NoError(t, err) - for event := range buildEvents { - require.NoError(t, event.Err) - } defer backend.Close() interrupt.RegisterCleaner(backend.Close) |