diff --git a/internal/daemon/dispatcher_test.go b/internal/daemon/dispatcher_test.go index c853c975a..6f59251d1 100644 --- a/internal/daemon/dispatcher_test.go +++ b/internal/daemon/dispatcher_test.go @@ -633,7 +633,7 @@ func TestDrainPassClaimsABacklogWithoutWaitingPerTask(t *testing.T) { func TestDrainPassClaimsOnlyWhatTheDispatcherCanRun(t *testing.T) { release := make(chan struct{}) defer close(release) - store := &queuedStore{stubStore: stubStore{park: func() { <-release }}} + store := &queuedStore{park: func() { <-release }} for id := range int64(10) { store.queue = append(store.queue, &workflow.Task{ID: id + 1, Owner: "acme", Repo: "app"}) }