diff --git a/tests/clickhouse/clickhouse_integration_test.go b/tests/clickhouse/clickhouse_integration_test.go index 1facaff6b4..c9e3d7d048 100644 --- a/tests/clickhouse/clickhouse_integration_test.go +++ b/tests/clickhouse/clickhouse_integration_test.go @@ -570,15 +570,15 @@ func TestClickHouseExecuteSQLTool(t *testing.T) { resultSliceLen: 0, }, { - name: "MissingSQL", - sql: "", - isErr: true, + name: "MissingSQL", + sql: "", + resultSliceLen: 1, }, { - name: "SQLInjectionAttempt", - sql: "SELECT 1; DROP TABLE system.users; SELECT 2", - isErr: true, + name: "SQLInjectionAttempt", + sql: "SELECT 1; DROP TABLE system.users; SELECT 2", + resultSliceLen: 1, }, } for _, tc := range tcs {