Skip to content

Commit 440477e

Browse files
committed
correct the sleep
1 parent ff1c6a6 commit 440477e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/cmab_client_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186

187187
expect(spy_logger).to have_received(:log).with(Logger::INFO, 'Retrying CMAB request (attempt 1) after 0.01 seconds...').once
188188
expect(spy_logger).to have_received(:log).with(Logger::INFO, 'Retrying CMAB request (attempt 2) after 0.02 seconds...').once
189-
expect(spy_logger).to have_received(:log).with(Logger::INFO, 'Retrying CMAB request (attempt 3) after 0.08 seconds...').once
189+
expect(spy_logger).to have_received(:log).with(Logger::INFO, 'Retrying CMAB request (attempt 3) after 0.04 seconds...').once
190190

191191
expect(Kernel).to have_received(:sleep).with(0.01).once
192192
expect(Kernel).to have_received(:sleep).with(0.02).once

0 commit comments

Comments
 (0)