Skip to content
Snippets Groups Projects
Commit 4f0ea931 authored by Paul Okstad's avatar Paul Okstad
Browse files

Add spec for multiple storages

parent 14f9574d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -294,6 +294,16 @@ RSpec.describe 'gitaly' do
.with_content(/exec svlogd -tt \/var\/log\/gitlab\/gitaly/)
end
 
context 'when using multiple maintenance storage entries' do
let(:daily_maintenance_storages) { %w(storage0 storage1 storage2) }
it 'renders daily_maintenance with multiple storage entries' do
expect(chef_run).to render_file(config_path).with_content { |content|
expect(content).to include("storages = #{daily_maintenance_storages}")
}
end
end
context 'when using gitaly storage configuration' do
before do
stub_gitlab_rb(
Loading
Loading
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