(t *testing.T, orgID uuid.UUID, workerID uuid.UUID, pt []database.ProvisionerType, tags provisionerdserver.Tags)
| 688 | } |
| 689 | |
| 690 | func newTestAcquiree(t *testing.T, orgID uuid.UUID, workerID uuid.UUID, pt []database.ProvisionerType, tags provisionerdserver.Tags) *testAcquiree { |
| 691 | return &testAcquiree{ |
| 692 | t: t, |
| 693 | orgID: orgID, |
| 694 | workerID: workerID, |
| 695 | pt: pt, |
| 696 | tags: tags, |
| 697 | ec: make(chan error, 1), |
| 698 | jc: make(chan database.ProvisionerJob, 1), |
| 699 | } |
| 700 | } |
| 701 | |
| 702 | func (a *testAcquiree) startAcquire(ctx context.Context, uut *provisionerdserver.Acquirer) { |
| 703 | go func() { |
no outgoing calls
no test coverage detected