From 25bd005653f37048bc4c387faaa8453cde13b578 Mon Sep 17 00:00:00 2001 From: Madhan Neethiraj Date: Thu, 31 Oct 2024 09:47:59 -0700 Subject: [PATCH] Address review comments --- plugin/trino-apache-ranger/pom.xml | 10 ---------- .../plugin/ranger/TestRangerSystemAccessControl.java | 6 +++++- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/plugin/trino-apache-ranger/pom.xml b/plugin/trino-apache-ranger/pom.xml index 6f18d0be56fb6d..4b329f5022af90 100644 --- a/plugin/trino-apache-ranger/pom.xml +++ b/plugin/trino-apache-ranger/pom.xml @@ -191,14 +191,4 @@ test - - - - src/test/resources - - **/* - - - - diff --git a/plugin/trino-apache-ranger/src/test/java/io/trino/plugin/ranger/TestRangerSystemAccessControl.java b/plugin/trino-apache-ranger/src/test/java/io/trino/plugin/ranger/TestRangerSystemAccessControl.java index dbd6e252569b4c..165cfa86c9f7e5 100644 --- a/plugin/trino-apache-ranger/src/test/java/io/trino/plugin/ranger/TestRangerSystemAccessControl.java +++ b/plugin/trino-apache-ranger/src/test/java/io/trino/plugin/ranger/TestRangerSystemAccessControl.java @@ -72,7 +72,11 @@ public class TestRangerSystemAccessControl public static void setUpBeforeClass() throws Exception { - accessControlManager = new RangerSystemAccessControl(new RangerConfig()); + RangerConfig config = new RangerConfig(); + + config.setServiceName("dev_trino"); + + accessControlManager = new RangerSystemAccessControl(config); } @Test