Skip to content

providerQueryManager: when max == 0 in FindProvidersAsync, use maxPro…

Codecov / codecov/patch succeeded Nov 21, 2024 in 0s

76.05% of diff hit (target 60.35%)

View this Pull Request on Codecov

76.05% of diff hit (target 60.35%)

Annotations

Check warning on line 110 in bitswap/client/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bitswap/client/client.go#L107-L110

Added lines #L107 - L110 were not covered by tests

Check warning on line 182 in bitswap/client/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bitswap/client/client.go#L181-L182

Added lines #L181 - L182 were not covered by tests

Check warning on line 409 in bitswap/client/internal/session/session.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bitswap/client/internal/session/session.go#L408-L409

Added lines #L408 - L409 were not covered by tests

Check warning on line 364 in bitswap/network/ipfs_impl.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bitswap/network/ipfs_impl.go#L363-L364

Added lines #L363 - L364 were not covered by tests

Check warning on line 107 in bitswap/options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bitswap/options.go#L106-L107

Added lines #L106 - L107 were not covered by tests

Check warning on line 111 in bitswap/options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bitswap/options.go#L110-L111

Added lines #L110 - L111 were not covered by tests

Check warning on line 44 in bitswap/testnet/virtual.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bitswap/testnet/virtual.go#L44

Added line #L44 was not covered by tests

Check warning on line 21 in blockservice/providing_blockstore.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

blockservice/providing_blockstore.go#L18-L21

Added lines #L18 - L21 were not covered by tests

Check warning on line 23 in blockservice/providing_blockstore.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

blockservice/providing_blockstore.go#L23

Added line #L23 was not covered by tests

Check warning on line 29 in blockservice/providing_blockstore.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

blockservice/providing_blockstore.go#L26-L29

Added lines #L26 - L29 were not covered by tests

Check warning on line 34 in blockservice/providing_blockstore.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

blockservice/providing_blockstore.go#L31-L34

Added lines #L31 - L34 were not covered by tests

Check warning on line 36 in blockservice/providing_blockstore.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

blockservice/providing_blockstore.go#L36

Added line #L36 was not covered by tests

Check warning on line 33 in exchange/providing/providing.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

exchange/providing/providing.go#L32-L33

Added lines #L32 - L33 were not covered by tests

Check warning on line 22 in provider/noop.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

provider/noop.go#L22

Added line #L22 was not covered by tests

Check warning on line 108 in routing/providerquerymanager/providerquerymanager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/providerquerymanager/providerquerymanager.go#L104-L108

Added lines #L104 - L108 were not covered by tests

Check warning on line 116 in routing/providerquerymanager/providerquerymanager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/providerquerymanager/providerquerymanager.go#L112-L116

Added lines #L112 - L116 were not covered by tests

Check warning on line 148 in routing/providerquerymanager/providerquerymanager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/providerquerymanager/providerquerymanager.go#L147-L148

Added lines #L147 - L148 were not covered by tests

Check warning on line 208 in routing/providerquerymanager/providerquerymanager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/providerquerymanager/providerquerymanager.go#L208

Added line #L208 was not covered by tests

Check warning on line 210 in routing/providerquerymanager/providerquerymanager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/providerquerymanager/providerquerymanager.go#L210

Added line #L210 was not covered by tests