Skip to content
Snippets Groups Projects

ClickHouse data collector

Merged charlie ablett requested to merge 414610-cablett-clickhouse-data-collector into master
1 file
+ 14
0
Compare changes
  • Side-by-side
  • Inline
  • c2568f28
    Setup ClickHouse on CI · c2568f28
    Adam Hegyi authored
    This change updates the pipeline settings to run a separate job for
    RSpec tests tagged with click_house.
@@ -124,4 +124,18 @@ def format_row(event)
expect(result).to eq([{ 'value' => 1 }])
end
end
describe 'querying data', :click_house do
around do |example|
with_net_connect_allowed do
example.run
end
end
it 'returns data from the DB' do
result = Gitlab::ClickHouse::Client.execute("SELECT 1 AS value", :main)
expect(result).to eq([{ 'value' => 1 }])
end
end
end
Loading