Skip to content

Commit

Permalink
Merge pull request #80 from thinkAfCod/fix_repeat_start
Browse files Browse the repository at this point in the history
fix: Inner watcher test
  • Loading branch information
thinkAfCod authored Dec 19, 2023
2 parents 9c29dfb + 7873d9c commit a77d309
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hildr-node/src/test/java/io/optimism/l1/InnerWatcherTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@

import io.optimism.TestConstants;
import io.optimism.config.Config;
import io.optimism.utilities.telemetry.Logging;
import io.optimism.utilities.telemetry.TracerTaskWrapper;
import java.math.BigInteger;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import org.jctools.queues.MessagePassingQueue;
import org.jctools.queues.MpscGrowableArrayQueue;
import org.junit.jupiter.api.BeforeAll;
Expand Down Expand Up @@ -67,7 +67,7 @@ void testTryIngestBlock() throws Exception {
if (!TestConstants.isConfiguredApiKeyEnv) {
return;
}
ExecutorService executor = Executors.newSingleThreadExecutor();
TracerTaskWrapper.setTracerSupplier(Logging.INSTANCE::getTracer);
var queue = new MpscGrowableArrayQueue<BlockUpdate>(1024 * 4, 1024 * 64);
var watcher = this.createWatcher(null, queue);
watcher.startUp();
Expand Down

0 comments on commit a77d309

Please sign in to comment.