Skip to content

Commit 00f820f

Browse files
committed
Disable ClientName test in restricted environments
1 parent c233838 commit 00f820f

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.github/workflows/macos.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ jobs:
7373
env:
7474
# It is impossible to start CH server in docker on macOS due to github actions limitations,
7575
# so we use remote server to execute tests, some do not allow some features for anonymoust/free users:
76-
# - system.query_log used by 'Client/ClientCase.Query_ID'
77-
GTEST_FILTER: "-Client/ClientCase.Query_ID*:Client/ClientCase.TracingContext/*"
76+
# - system.query_log used by 'Client/ClientCase.Query_ID' and 'Client/ClientCase.ClientName'
77+
# - system.opentelemetry_span_log is used by 'Client/ClientCase.TracingContext'
78+
GTEST_FILTER: "-Client/ClientCase.Query_ID*:Client/ClientCase.TracingContext/*:Client/ClientCase.ClientName/*"
7879
run: ./clickhouse-cpp-ut ${GTEST_FILTER}

.github/workflows/windows_mingw.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,9 @@ jobs:
9393
env:
9494
# It is impossible to start CH server in docker on Windows due to github actions limitations,
9595
# so we use remote server to execute tests, some do not allow some features for anonymoust/free users:
96-
# - system.query_log used by 'Client/ClientCase.Query_ID'
97-
GTEST_FILTER: "-Client/ClientCase.Query_ID*:Client/ClientCase.TracingContext/*"
96+
# - system.query_log used by 'Client/ClientCase.Query_ID' and 'Client/ClientCase.ClientName'
97+
# - system.opentelemetry_span_log is used by 'Client/ClientCase.TracingContext'
98+
GTEST_FILTER: "-Client/ClientCase.Query_ID*:Client/ClientCase.TracingContext/*:Client/ClientCase.ClientName/*"
9899
run: ./build/ut/clickhouse-cpp-ut.exe ${GTEST_FILTER}
99100

100101
- name: Test (simple)

.github/workflows/windows_msvc.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ jobs:
6868
env:
6969
# It is impossible to start CH server in docker on Windows due to github actions limitations,
7070
# so we use remote server to execute tests, some do not allow some features for anonymoust/free users:
71-
# - system.query_log used by 'Client/ClientCase.Query_ID'
72-
GTEST_FILTER: "-Client/ClientCase.Query_ID*:Client/ClientCase.TracingContext/*"
71+
# - system.query_log used by 'Client/ClientCase.Query_ID' and 'Client/ClientCase.ClientName'
72+
# - system.opentelemetry_span_log is used by 'Client/ClientCase.TracingContext'
73+
GTEST_FILTER: "-Client/ClientCase.Query_ID*:Client/ClientCase.TracingContext/*:Client/ClientCase.ClientName/*"
7374
working-directory: ${{github.workspace}}/build/ut
7475
run: Release\clickhouse-cpp-ut.exe "${{env.GTEST_FILTER}}"

0 commit comments

Comments
 (0)