From 5f93be8ae7533475d2fef404dc578c946bfbcec9 Mon Sep 17 00:00:00 2001 From: Bing Li Date: Mon, 6 May 2024 12:00:10 -0700 Subject: [PATCH] fix proxy test --- src/test/scala/net/snowflake/spark/snowflake/MiscSuite01.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/scala/net/snowflake/spark/snowflake/MiscSuite01.scala b/src/test/scala/net/snowflake/spark/snowflake/MiscSuite01.scala index e0b1436b..974e607c 100644 --- a/src/test/scala/net/snowflake/spark/snowflake/MiscSuite01.scala +++ b/src/test/scala/net/snowflake/spark/snowflake/MiscSuite01.scala @@ -175,7 +175,7 @@ class MiscSuite01 extends FunSuite with Matchers { proxyInfo.setProxyForS3(clientConfig) val protocol = if (protocolString.equalsIgnoreCase("https")) Protocol.HTTPS else Protocol.HTTP - assert(clientConfig.getProtocol.equals(protocol)) + assert(clientConfig.getProxyProtocol.equals(protocol)) } // negative test for JDBC properties