File tree Expand file tree Collapse file tree
hildr-node/src/test/java/io/optimism/l1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020
2121import io .optimism .TestConstants ;
2222import io .optimism .config .Config ;
23+ import io .optimism .utilities .telemetry .Logging ;
24+ import io .optimism .utilities .telemetry .TracerTaskWrapper ;
2325import java .math .BigInteger ;
24- import java .util .concurrent .ExecutorService ;
25- import java .util .concurrent .Executors ;
2626import org .jctools .queues .MessagePassingQueue ;
2727import org .jctools .queues .MpscGrowableArrayQueue ;
2828import org .junit .jupiter .api .BeforeAll ;
@@ -67,7 +67,7 @@ void testTryIngestBlock() throws Exception {
6767 if (!TestConstants .isConfiguredApiKeyEnv ) {
6868 return ;
6969 }
70- ExecutorService executor = Executors . newSingleThreadExecutor ( );
70+ TracerTaskWrapper . setTracerSupplier ( Logging . INSTANCE :: getTracer );
7171 var queue = new MpscGrowableArrayQueue <BlockUpdate >(1024 * 4 , 1024 * 64 );
7272 var watcher = this .createWatcher (null , queue );
7373 watcher .startUp ();
You can’t perform that action at this time.
0 commit comments