Skip to content

Commit

Permalink
SNOW-1728000 Disable squid proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-mbobowski committed Nov 8, 2024
1 parent 9fc6c9d commit 94232f4
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 30 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/End2EndTestApache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/IntegrationTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions src/test/java/com/snowflake/kafka/connector/UtilsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 94232f4

Please sign in to comment.