Skip to content

Commit

Permalink
fix retry num
Browse files Browse the repository at this point in the history
  • Loading branch information
yito88 committed Oct 31, 2024
1 parent a6766a0 commit 000a11d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scalardb/test/scalardb/transfer_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@
:storage (ref mock-storage)}
(#'transfer/get-all {:client client}
nil))))
(is (spy/called-n-times? scalar/exponential-backoff (* scalar/RETRIES 5)))
(is (spy/called-n-times? scalar/exponential-backoff
(* scalar/RETRIES num-accounts)))
(is (spy/called-n-times? scalar/prepare-transaction-service!
retries-reconnection))
(is (spy/called-n-times? scalar/prepare-storage-service!
Expand Down

0 comments on commit 000a11d

Please sign in to comment.