MCPcopy Create free account
hub / github.com/Shopify/goose / assertNotResolved

Function assertNotResolved

lockmap/map_test.go:61–67  ·  view source on GitHub ↗
(promise Promise)

Source from the content-addressed store, hash-verified

59}
60
61func assertNotResolved(promise Promise) {
62 select {
63 case <-promise:
64 panic("promise should not have been resolved")
65 default:
66 }
67}
68
69func Test_lockMap_Release(t *testing.T) {
70 m := newMap(sweepInterval)

Callers 2

Test_lockMap_WaitOrLockFunction · 0.85
Test_lockMap_sweepFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected