From 918a7a00adf4f76e9db6f70ad51463c38fb0899e Mon Sep 17 00:00:00 2001 From: Vasily Nemkov Date: Thu, 14 Sep 2023 17:50:03 +0200 Subject: [PATCH 1/3] MacOS less flaky tests Disabled tests that rely on some privileges that might be unavailable on a remote server: - Client/ClientCase.Query_ID - Client/ClientCase.TracingContext --- .github/workflows/macos.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 1a267aa8..215b2214 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -67,5 +67,5 @@ jobs: # It is impossible to start CH server in docker on macOS due to github actions limitations, # so we use remote server to execute tests, some do not allow some features for anonymoust/free users: # - system.query_log used by 'Client/ClientCase.Query_ID' - GTEST_FILTER: "-Client/ClientCase.Query_ID*" + GTEST_FILTER: "-Client/ClientCase.Query_ID*:Client/ClientCase.TracingContext/*" run: ./clickhouse-cpp-ut ${GTEST_FILTER} From 831c2f20f38c9a27a52f8235df89a4abe2f1116e Mon Sep 17 00:00:00 2001 From: Vasily Nemkov Date: Thu, 14 Sep 2023 17:55:11 +0200 Subject: [PATCH 2/3] Same test filter for windows mingw run --- .github/workflows/windows_mingw.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/windows_mingw.yml b/.github/workflows/windows_mingw.yml index d99c1ef7..6c6c3e9b 100644 --- a/.github/workflows/windows_mingw.yml +++ b/.github/workflows/windows_mingw.yml @@ -85,7 +85,7 @@ jobs: # It is impossible to start CH server in docker on Windows due to github actions limitations, # so we use remote server to execute tests, some do not allow some features for anonymoust/free users: # - system.query_log used by 'Client/ClientCase.Query_ID' - GTEST_FILTER: "-Client/ClientCase.Query_ID*" + GTEST_FILTER: "-Client/ClientCase.Query_ID*:Client/ClientCase.TracingContext/*" run: ./build/ut/clickhouse-cpp-ut.exe ${GTEST_FILTER} - name: Test (simple) From f84a4835d97bc2ab7d0a33ab936762b5f937cf77 Mon Sep 17 00:00:00 2001 From: Vasily Nemkov Date: Thu, 14 Sep 2023 17:55:47 +0200 Subject: [PATCH 3/3] Same test filters for windows msvc run --- .github/workflows/windows_msvc.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/windows_msvc.yml b/.github/workflows/windows_msvc.yml index 149e3df4..760f5ab2 100644 --- a/.github/workflows/windows_msvc.yml +++ b/.github/workflows/windows_msvc.yml @@ -61,6 +61,6 @@ jobs: # It is impossible to start CH server in docker on Windows due to github actions limitations, # so we use remote server to execute tests, some do not allow some features for anonymoust/free users: # - system.query_log used by 'Client/ClientCase.Query_ID' - GTEST_FILTER: "-Client/ClientCase.Query_ID*" + GTEST_FILTER: "-Client/ClientCase.Query_ID*:Client/ClientCase.TracingContext/*" working-directory: ${{github.workspace}}/build/ut run: Release\clickhouse-cpp-ut.exe "${{env.GTEST_FILTER}}"