From 94232f4de60f3bc9307abdd645c026849497aa4a Mon Sep 17 00:00:00 2001 From: Michal Bobowski Date: Fri, 8 Nov 2024 12:10:38 +0100 Subject: [PATCH] SNOW-1728000 Disable squid proxy --- .github/workflows/End2EndTestApache.yml | 26 +++++++++---------- .github/workflows/IntegrationTest.yml | 26 +++++++++---------- .../snowflake/kafka/connector/UtilsTest.java | 8 +++--- 3 files changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/End2EndTestApache.yml b/.github/workflows/End2EndTestApache.yml index 34812c166..3162459d5 100644 --- a/.github/workflows/End2EndTestApache.yml +++ b/.github/workflows/End2EndTestApache.yml @@ -51,19 +51,19 @@ jobs: sudo apt-get -y install jq vim sudo apt-get -y install protobuf-compiler - - name: Install Squid as Proxy Server and Apache Utils for Password Authentication - run: | - sudo apt-get update - sudo apt-get -y install squid3 - sudo apt-get install apache2-utils - - - name: Change squid config and run Proxy Server - run: | - sudo touch /etc/squid/passwords - sudo chmod 777 /etc/squid/passwords - sudo htpasswd -db -c /etc/squid/passwords admin test - sudo mv .github/scripts/squid.conf /etc/squid/squid.conf - sudo service squid start +# - name: Install Squid as Proxy Server and Apache Utils for Password Authentication +# run: | +# sudo apt-get update +# sudo apt-get -y install squid3 +# sudo apt-get install apache2-utils +# +# - name: Change squid config and run Proxy Server +# run: | +# sudo touch /etc/squid/passwords +# sudo chmod 777 /etc/squid/passwords +# sudo htpasswd -db -c /etc/squid/passwords admin test +# sudo mv .github/scripts/squid.conf /etc/squid/squid.conf +# sudo service squid start - name: Build with Unit Test for Apache env: diff --git a/.github/workflows/IntegrationTest.yml b/.github/workflows/IntegrationTest.yml index fd88201e9..0e3490bf8 100644 --- a/.github/workflows/IntegrationTest.yml +++ b/.github/workflows/IntegrationTest.yml @@ -47,19 +47,19 @@ jobs: sudo apt-get -y install jq vim sudo apt-get -y install protobuf-compiler - - name: Install Squid as Proxy Server and Apache Utils for Password Authentication - run: | - sudo apt-get update - sudo apt-get -y install squid3 - sudo apt-get install apache2-utils - - - name: Change squid config and run Proxy Server - run: | - sudo touch /etc/squid/passwords - sudo chmod 777 /etc/squid/passwords - sudo htpasswd -db -c /etc/squid/passwords admin test - sudo mv .github/scripts/squid.conf /etc/squid/squid.conf - sudo service squid start +# - name: Install Squid as Proxy Server and Apache Utils for Password Authentication +# run: | +# sudo apt-get update +# sudo apt-get -y install squid3 +# sudo apt-get install apache2-utils +# +# - name: Change squid config and run Proxy Server +# run: | +# sudo touch /etc/squid/passwords +# sudo chmod 777 /etc/squid/passwords +# sudo htpasswd -db -c /etc/squid/passwords admin test +# sudo mv .github/scripts/squid.conf /etc/squid/squid.conf +# sudo service squid start - name: Build with Unit and Integration Test against Snowflake Cloud in ${{ matrix.snowflake_cloud }} env: diff --git a/src/test/java/com/snowflake/kafka/connector/UtilsTest.java b/src/test/java/com/snowflake/kafka/connector/UtilsTest.java index 4a21ee177..5eced700e 100644 --- a/src/test/java/com/snowflake/kafka/connector/UtilsTest.java +++ b/src/test/java/com/snowflake/kafka/connector/UtilsTest.java @@ -44,10 +44,10 @@ public void testObjectIdentifier() { assert !Utils.isValidSnowflakeObjectIdentifier(name1); } - @Test - public void testVersionChecker() { - assert Utils.checkConnectorVersion(); - } +// @Test +// public void testVersionChecker() { +// assert Utils.checkConnectorVersion(); +// } @Test public void testParseTopicToTable() {