From 3fd462324133b31b8779ab002d1709a4dca92339 Mon Sep 17 00:00:00 2001 From: Vasily Nemkov Date: Thu, 6 Jan 2022 18:35:42 +0300 Subject: [PATCH 1/4] Explicit path to openssl --- .github/workflows/macos_ssl.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/macos_ssl.yml b/.github/workflows/macos_ssl.yml index f3e8c4e5..dae7d9df 100644 --- a/.github/workflows/macos_ssl.yml +++ b/.github/workflows/macos_ssl.yml @@ -11,6 +11,6 @@ jobs: build-and-test: uses: ClickHouse/clickhouse-cpp/.github/workflows/macos.yml@master with: - extra_cmake_flags: -DWITH_OPENSSL=ON + extra_cmake_flags: -DWITH_OPENSSL=ON -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/ extra_install: openssl # gtest_filter: "-*LocalhostTLS*" From f458ee5314208a9367898756804516f55f7a8607 Mon Sep 17 00:00:00 2001 From: Vasily Nemkov Date: Thu, 6 Jan 2022 18:46:26 +0300 Subject: [PATCH 2/4] Disabled some tests --- .github/workflows/macos_ssl.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/macos_ssl.yml b/.github/workflows/macos_ssl.yml index dae7d9df..9e01b76b 100644 --- a/.github/workflows/macos_ssl.yml +++ b/.github/workflows/macos_ssl.yml @@ -13,4 +13,5 @@ jobs: with: extra_cmake_flags: -DWITH_OPENSSL=ON -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/ extra_install: openssl -# gtest_filter: "-*LocalhostTLS*" + # There is no CH server running locally, so disable tests that try to connect to it. + gtest_filter: "-*ColumnPerformanceTest*" From 725d267090f61567795cde68b49bffa0ad1a7f6d Mon Sep 17 00:00:00 2001 From: Vasily Nemkov Date: Sat, 8 Jan 2022 19:08:30 +0300 Subject: [PATCH 3/4] Excluding ClientCase tests Those require connection to a local CH server --- .github/workflows/macos_ssl.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/macos_ssl.yml b/.github/workflows/macos_ssl.yml index 9e01b76b..fa6ae44a 100644 --- a/.github/workflows/macos_ssl.yml +++ b/.github/workflows/macos_ssl.yml @@ -14,4 +14,4 @@ jobs: extra_cmake_flags: -DWITH_OPENSSL=ON -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/ extra_install: openssl # There is no CH server running locally, so disable tests that try to connect to it. - gtest_filter: "-*ColumnPerformanceTest*" + gtest_filter: "-*ColumnPerformanceTest*:-*ClientCase*" From 2214d97e4edb6890fb4a9d1a705d28ca5b497e26 Mon Sep 17 00:00:00 2001 From: Vasily Nemkov Date: Sat, 8 Jan 2022 20:13:33 +0300 Subject: [PATCH 4/4] Exclude all tests that require local CH server --- .github/workflows/macos_ssl.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/macos_ssl.yml b/.github/workflows/macos_ssl.yml index fa6ae44a..08a69272 100644 --- a/.github/workflows/macos_ssl.yml +++ b/.github/workflows/macos_ssl.yml @@ -14,4 +14,4 @@ jobs: extra_cmake_flags: -DWITH_OPENSSL=ON -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/ extra_install: openssl # There is no CH server running locally, so disable tests that try to connect to it. - gtest_filter: "-*ColumnPerformanceTest*:-*ClientCase*" + gtest_filter: "-*Client*:*Local*:*ColumnPerformanceTest*"