(t *testing.T, peer *peerUnderTest, bindAddr string)
| 717 | } |
| 718 | |
| 719 | func 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 | |
| 726 | type peerUnderTest struct { |
| 727 | manager *SyncManager |
no test coverage detected