Skip to content

Commit

Permalink
Add missing Tracer binding in Delta Lake Glue tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wendigo authored and electrum committed Apr 19, 2023
1 parent 3e8e764 commit 40b8be9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import io.airlift.bootstrap.Bootstrap;
import io.airlift.bootstrap.LifeCycleManager;
import io.airlift.json.JsonModule;
import io.opentelemetry.api.trace.Tracer;
import io.trino.filesystem.hdfs.HdfsFileSystemModule;
import io.trino.hdfs.HdfsEnvironment;
import io.trino.plugin.base.CatalogName;
Expand Down Expand Up @@ -118,6 +119,7 @@ public void setUp()
binder.bind(NodeManager.class).toInstance(context.getNodeManager());
binder.bind(PageIndexerFactory.class).toInstance(context.getPageIndexerFactory());
binder.bind(NodeVersion.class).toInstance(new NodeVersion("test_version"));
binder.bind(Tracer.class).toInstance(context.getTracer());
},
// connector modules
new DeltaLakeMetastoreModule(),
Expand Down

0 comments on commit 40b8be9

Please sign in to comment.