From 038f26bffc9f5bfc15bd2b5859d035269af97d94 Mon Sep 17 00:00:00 2001 From: Juan Martinez Ramirez Date: Thu, 20 Jun 2024 15:57:07 -0600 Subject: [PATCH] Ignore test conditions for cloud providers in ConnectionFipsIT and ConnectionLatestIT --- .../test/java/net/snowflake/client/jdbc/ConnectionFipsIT.java | 2 +- .../java/net/snowflake/client/jdbc/ConnectionLatestIT.java | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/FIPS/src/test/java/net/snowflake/client/jdbc/ConnectionFipsIT.java b/FIPS/src/test/java/net/snowflake/client/jdbc/ConnectionFipsIT.java index 562883be7..0a8bd6ebb 100644 --- a/FIPS/src/test/java/net/snowflake/client/jdbc/ConnectionFipsIT.java +++ b/FIPS/src/test/java/net/snowflake/client/jdbc/ConnectionFipsIT.java @@ -291,7 +291,7 @@ public void testConnectUsingKeyPair() throws Exception { } @Test - @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGCP.class) + // @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGCP.class) public void connectWithFipsAndQuery() throws SQLException { try (Connection con = getConnection()) { Statement statement = con.createStatement(); diff --git a/src/test/java/net/snowflake/client/jdbc/ConnectionLatestIT.java b/src/test/java/net/snowflake/client/jdbc/ConnectionLatestIT.java index 1e1731da1..67c910692 100644 --- a/src/test/java/net/snowflake/client/jdbc/ConnectionLatestIT.java +++ b/src/test/java/net/snowflake/client/jdbc/ConnectionLatestIT.java @@ -47,7 +47,6 @@ import java.util.Properties; import java.util.concurrent.TimeUnit; import net.snowflake.client.ConditionalIgnoreRule; -import net.snowflake.client.RunningNotOnAWS; import net.snowflake.client.RunningOnGithubAction; import net.snowflake.client.TestUtil; import net.snowflake.client.category.TestCategoryConnection; @@ -1171,7 +1170,7 @@ public void testReadOnly() throws Throwable { } @Test - @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningNotOnAWS.class) + // @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningNotOnAWS.class) public void testDownloadStreamWithFileNotFoundException() throws SQLException { try (Connection connection = getConnection(); Statement statement = connection.createStatement()) {