We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 440477e commit c6e4286Copy full SHA for c6e4286
spec/cmab_client_spec.rb
@@ -166,7 +166,7 @@
166
167
expect(Kernel).to have_received(:sleep).with(0.01).once
168
expect(Kernel).to have_received(:sleep).with(0.02).once
169
- expect(Kernel).not_to have_received(:sleep).with(0.08)
+ expect(Kernel).not_to have_received(:sleep).with(0.04)
170
end
171
172
it 'should exhaust all retry attempts' do
@@ -190,7 +190,7 @@
190
191
192
193
- expect(Kernel).to have_received(:sleep).with(0.08).once
+ expect(Kernel).to have_received(:sleep).with(0.04).once
194
195
expect(spy_logger).to have_received(:log).with(Logger::ERROR, a_string_including('Max retries exceeded for CMAB request'))
196
0 commit comments