From 000a11d8fb4daaf9f76865a0b97d0218ddcc2a49 Mon Sep 17 00:00:00 2001 From: yito88 Date: Thu, 31 Oct 2024 22:08:21 +0100 Subject: [PATCH] fix retry num --- scalardb/test/scalardb/transfer_test.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scalardb/test/scalardb/transfer_test.clj b/scalardb/test/scalardb/transfer_test.clj index 70634b8..f9e2e2c 100644 --- a/scalardb/test/scalardb/transfer_test.clj +++ b/scalardb/test/scalardb/transfer_test.clj @@ -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!