Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/riverqueue/river
/ Cleanup
Method
Cleanup
riverdbtest/riverdbtest.go:283–283 ·
view source on GitHub ↗
(cleanupFunc func())
Source
from the content-addressed store, hash-verified
281
// having to check schemas back in (it's used in example tests).
282
type
testingTBWithCleanup
interface
{
283
Cleanup(cleanupFunc
func
())
284
}
285
286
if
withCleanup, ok := tb.(testingTBWithCleanup); ok {
Callers
15
Test_SubscriptionManager
Function · 0.80
Test_RecordedOutput
Function · 0.80
startClient
Function · 0.80
subscribe
Function · 0.80
Test_Client_Common
Function · 0.80
Test_Client_Stop_Common
Function · 0.80
Test_Client_Stop_ContextImmediatelyCancelled
Function · 0.80
Test_Client_JobContextInheritsFromProvidedContext
Function · 0.80
Test_Client_JobDelete
Function · 0.80
Test_Client_JobDeleteTx
Function · 0.80
Test_Client_JobDeleteManyTx
Function · 0.80
Test_Client_InsertTx
Function · 0.80
Calls
no outgoing calls
Tested by
15
Test_SubscriptionManager
Function · 0.64
Test_RecordedOutput
Function · 0.64
startClient
Function · 0.64
subscribe
Function · 0.64
Test_Client_Common
Function · 0.64
Test_Client_Stop_Common
Function · 0.64
Test_Client_Stop_ContextImmediatelyCancelled
Function · 0.64
Test_Client_JobContextInheritsFromProvidedContext
Function · 0.64
Test_Client_JobDelete
Function · 0.64
Test_Client_JobDeleteTx
Function · 0.64
Test_Client_JobDeleteManyTx
Function · 0.64
Test_Client_InsertTx
Function · 0.64