This is an automated email from the ASF dual-hosted git repository. jihoonson pushed a commit to branch 0.20.2 in repository https://gitbox.apache.org/repos/asf/druid.git
commit 3282b6a7f0679578d8e03f4eacc7f37bc73fc3d1 Author: Jihoon Son <[email protected]> AuthorDate: Tue Mar 23 15:40:00 2021 -0700 fix tests for java 11 --- .../druid/firehose/PostgresqlFirehoseDatabaseConnectorTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions-core/postgresql-metadata-storage/src/test/java/org/apache/druid/firehose/PostgresqlFirehoseDatabaseConnectorTest.java b/extensions-core/postgresql-metadata-storage/src/test/java/org/apache/druid/firehose/PostgresqlFirehoseDatabaseConnectorTest.java index 229f1a4..4ab9ab3 100644 --- a/extensions-core/postgresql-metadata-storage/src/test/java/org/apache/druid/firehose/PostgresqlFirehoseDatabaseConnectorTest.java +++ b/extensions-core/postgresql-metadata-storage/src/test/java/org/apache/druid/firehose/PostgresqlFirehoseDatabaseConnectorTest.java @@ -87,7 +87,7 @@ public class PostgresqlFirehoseDatabaseConnectorTest JdbcAccessSecurityConfig securityConfig = newSecurityConfigEnforcingAllowList(ImmutableSet.of("")); - expectedException.expectMessage("The property [keyonly] is not in the allowed list"); + expectedException.expectMessage("is not in the allowed list"); expectedException.expect(IllegalArgumentException.class); new PostgresqlFirehoseDatabaseConnector( @@ -132,7 +132,7 @@ public class PostgresqlFirehoseDatabaseConnectorTest JdbcAccessSecurityConfig securityConfig = newSecurityConfigEnforcingAllowList(ImmutableSet.of("none", "nonenone")); - expectedException.expectMessage("The property [keyonly] is not in the allowed list"); + expectedException.expectMessage("is not in the allowed list"); expectedException.expect(IllegalArgumentException.class); new PostgresqlFirehoseDatabaseConnector( @@ -155,7 +155,7 @@ public class PostgresqlFirehoseDatabaseConnectorTest JdbcAccessSecurityConfig securityConfig = newSecurityConfigEnforcingAllowList(ImmutableSet.of("user", "nonenone")); - expectedException.expectMessage("The property [keyonly] is not in the allowed list"); + expectedException.expectMessage("is not in the allowed list"); expectedException.expect(IllegalArgumentException.class); new PostgresqlFirehoseDatabaseConnector( --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
