Skip to content

Commit

Permalink
Skip test query parameters for CH < 24.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleg Galizin committed Nov 22, 2024
1 parent 86d0c84 commit 2edfc17
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ut/client_ut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1490,6 +1490,10 @@ TEST(SimpleClientTest, issue_335_reconnects_count) {
}

TEST_P(ClientCase, QueryParameters) {
const auto & server_info = client_->GetServerInfo();
if (versionNumber(server_info) < versionNumber(24, 7)) {
GTEST_SKIP() << "Test is skipped since server '" << server_info << "' does not support query parameters" << std::endl;
}
const std::string table_name = "test_clickhouse_cpp_query_parameter";
client_->Execute("CREATE TEMPORARY TABLE IF NOT EXISTS " + table_name + " (id UInt64, name String)");
{
Expand Down

0 comments on commit 2edfc17

Please sign in to comment.