MCPcopy Index your code
hub / github.com/garethgeorge/backrest / startRunningSyncAPI

Function startRunningSyncAPI

internal/api/syncapi/syncapi_test.go:719–724  ·  view source on GitHub ↗
(t *testing.T, peer *peerUnderTest, bindAddr string)

Source from the content-addressed store, hash-verified

717}
718
719func startRunningSyncAPI(t *testing.T, peer *peerUnderTest, bindAddr string) {
720 t.Helper()
721 ctx, cancel := context.WithCancel(context.Background())
722 t.Cleanup(cancel)
723 go runSyncAPIWithCtx(ctx, peer, bindAddr)
724}
725
726type peerUnderTest struct {
727 manager *SyncManager

Callers 8

TestPairingTokenFlowFunction · 0.85
TestConnectionSucceedsFunction · 0.85
TestSyncConfigChangeFunction · 0.85
TestSimpleOperationSyncFunction · 0.85

Calls 1

runSyncAPIWithCtxFunction · 0.85

Tested by

no test coverage detected