MCPcopy Index your code
hub / github.com/coder/coder / requireBlocked

Method requireBlocked

coderd/provisionerdserver/acquirer_test.go:727–734  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

725}
726
727func (a *testAcquiree) requireBlocked() {
728 select {
729 case <-a.ec:
730 a.t.Fatal("AcquireJob should block")
731 default:
732 // OK
733 }
734}
735
736func (a *testAcquiree) requireCanceled(ctx context.Context) {
737 select {

Callers 2

Calls 1

FatalMethod · 0.80

Tested by

no test coverage detected