spec/integration/sdam_prose_spec.rb in mongo-2.15.0.alpha vs spec/integration/sdam_prose_spec.rb in mongo-2.15.0
- old
+ new
@@ -1,5 +1,8 @@
+# frozen_string_literal: true
+# encoding: utf-8
+
require 'spec_helper'
describe 'SDAM prose tests' do
# The "streaming protocol tests" are covered by the tests in
# sdam_events_spec.rb.
@@ -35,10 +38,10 @@
root_authorized_client.use('admin').database.command(
configureFailPoint: 'failCommand',
mode: {times: 1000},
data: {
- failCommands: ["isMaster"],
+ failCommands: %w(isMaster hello),
blockConnection: true,
blockTimeMS: 500,
appName: "streamingRttTest",
},
)