Skip to content
Snippets Groups Projects
Commit c2568f28 authored by Adam Hegyi's avatar Adam Hegyi Committed by charlie ablett
Browse files

Setup ClickHouse on CI

This change updates the pipeline settings to run a separate job for
RSpec tests tagged with click_house.
parent a8d7e2f1
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !127435. Comments created here will be created in the context of that merge request.
...@@ -124,4 +124,18 @@ def format_row(event) ...@@ -124,4 +124,18 @@ def format_row(event)
expect(result).to eq([{ 'value' => 1 }]) expect(result).to eq([{ 'value' => 1 }])
end end
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 end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment