Skip to content

Commit fcef004

Browse files
committed
Fix TestRangerBasedAccessControlConfig
1 parent aaf5879 commit fcef004

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

presto-hive/src/test/java/com/facebook/presto/hive/security/ranger/TestRangerBasedAccessControlConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,15 @@ public void testValidation()
8787
RANGER_REST_USER_GROUPS_AUTH_USERNAME, "admin",
8888
RANGER_REST_USER_GROUPS_AUTH_PASSWORD, "admin")))
8989
.isInstanceOf(ConfigurationException.class)
90-
.hasMessageContaining("Invalid configuration property hive.ranger.rest-endpoint: may not be null");
90+
.hasMessageContaining("Invalid configuration property hive.ranger.rest-endpoint: must not be null");
9191

9292
assertThatThrownBy(() -> newInstance(ImmutableMap.of(
9393
RANGER_POLICY_REFRESH_PERIOD, "120s",
9494
RANGER_HTTP_END_POINT, "http://test:6080",
9595
RANGER_REST_USER_GROUPS_AUTH_USERNAME, "admin",
9696
RANGER_REST_USER_GROUPS_AUTH_PASSWORD, "admin")))
9797
.isInstanceOf(ConfigurationException.class)
98-
.hasMessageContaining("Invalid configuration property hive.ranger.policy.hive-servicename: may not be null");
98+
.hasMessageContaining("Invalid configuration property hive.ranger.policy.hive-servicename: must not be null");
9999
}
100100

101101
private static RangerBasedAccessControlConfig newInstance(Map<String, String> properties)

0 commit comments

Comments
 (0)