From ed2b4d30ab479969d642b21258f80a14aeb71f61 Mon Sep 17 00:00:00 2001 From: Yuya Ebihara Date: Thu, 31 Mar 2022 08:51:24 +0900 Subject: [PATCH] Bind session properties in TestDeltaLakeGlueMetastore --- .../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 55cbb15ab526..c3d03ec687cc 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 @@ -18,6 +18,7 @@ import com.google.common.io.Files; import com.google.common.io.Resources; import com.google.inject.Injector; +import com.google.inject.Scopes; import io.airlift.bootstrap.Bootstrap; import io.airlift.bootstrap.LifeCycleManager; import io.airlift.json.JsonModule; @@ -116,6 +117,7 @@ public void setUp() // connector modules new DeltaLakeMetastoreModule(), new DeltaLakeModule(), + binder -> binder.bind(DeltaLakeSessionProperties.class).in(Scopes.SINGLETON), // test setup binder -> { binder.bind(HdfsEnvironment.class).toInstance(HDFS_ENVIRONMENT);