Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for replication.enableMajorityReadConcern setting #544

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Tweaked template for replication.enableMajorityReadConcern.
williamkorb committed May 31, 2019
commit 93bc5b5f3f402dd53f7554599c085415bcef7cf7
4 changes: 2 additions & 2 deletions spec/classes/server_spec.rb
Original file line number Diff line number Diff line change
@@ -331,15 +331,15 @@
end

describe 'repl_enable_majority_read_concern param' do
context "set to true" do
context 'set to true' do
let(:params) do
{ repl_enable_majority_read_concern: true }
end

it { is_expected.to contain_file(config_file).with_content(%r{^\s*replication\.enableMajorityReadConcern: true$}) }
end

context "set to false" do
context 'set to false' do
let(:params) do
{ repl_enable_majority_read_concern: false }
end