From 40b8be9d7b7621985e6c3555d4dfa9fdcbb00a6d Mon Sep 17 00:00:00 2001 From: "Mateusz \"Serafin\" Gajewski" Date: Wed, 19 Apr 2023 10:44:35 +0200 Subject: [PATCH] Add missing Tracer binding in Delta Lake Glue tests --- .../deltalake/metastore/glue/TestDeltaLakeGlueMetastore.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin/trino-delta-lake/src/test/java/io/trino/plugin/deltalake/metastore/glue/TestDeltaLakeGlueMetastore.java b/plugin/trino-delta-lake/src/test/java/io/trino/plugin/deltalake/metastore/glue/TestDeltaLakeGlueMetastore.java index 927ac5812366..bfc4a0dfb116 100644 --- a/plugin/trino-delta-lake/src/test/java/io/trino/plugin/deltalake/metastore/glue/TestDeltaLakeGlueMetastore.java +++ b/plugin/trino-delta-lake/src/test/java/io/trino/plugin/deltalake/metastore/glue/TestDeltaLakeGlueMetastore.java @@ -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; @@ -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(),