Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Кирилл committed Nov 7, 2023
1 parent 3bc9447 commit 8fbf6d2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class MultistreamHolderMock implements MultistreamHolder {
upstreams[chain] = up
} else if (up instanceof GenericUpstream) {
upstreams[chain] = new GenericMultistream(
chain, Schedulers.boundedElastic(), null, new ArrayList<Upstream>(), Caches.default(),
chain, Schedulers.immediate(), null, new ArrayList<Upstream>(), Caches.default(),
Schedulers.boundedElastic(),
EthereumChainSpecific.INSTANCE.makeCachingReaderBuilder(TestingCommons.tracerMock()),
EthereumChainSpecific.INSTANCE.&localReaderBuilder,
Expand Down Expand Up @@ -101,7 +101,7 @@ class MultistreamHolderMock implements MultistreamHolder {
Head customHead = null

EthereumMultistreamMock(@NotNull Chain chain, @NotNull List<GenericUpstream> upstreams, @NotNull Caches caches) {
super(chain, Schedulers.boundedElastic(), null, upstreams, caches, Schedulers.boundedElastic(),
super(chain, Schedulers.immediate(), null, upstreams, caches, Schedulers.boundedElastic(),
EthereumChainSpecific.INSTANCE.makeCachingReaderBuilder(new BraveTracer(null, null, null)),
EthereumChainSpecific.INSTANCE.&localReaderBuilder,
EthereumChainSpecific.INSTANCE.subscriptionBuilder(Schedulers.boundedElastic()))
Expand Down

0 comments on commit 8fbf6d2

Please sign in to comment.