From ce9087fa8d1328100851051aa54f27433f0eadf9 Mon Sep 17 00:00:00 2001 From: Mitsunori Komatsu Date: Fri, 25 Oct 2024 11:44:24 +0900 Subject: [PATCH] Fix unit test --- scalardb/test/scalardb/transfer_2pc_test.clj | 4 ++-- scalardb/test/scalardb/transfer_test.clj | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scalardb/test/scalardb/transfer_2pc_test.clj b/scalardb/test/scalardb/transfer_2pc_test.clj index 95e3301..6ad953b 100644 --- a/scalardb/test/scalardb/transfer_2pc_test.clj +++ b/scalardb/test/scalardb/transfer_2pc_test.clj @@ -236,9 +236,9 @@ nil)))) (is (spy/called-n-times? scalar/exponential-backoff scalar/RETRIES)) (is (spy/called-n-times? scalar/prepare-transaction-service! - (+ (quot scalar/RETRIES scalar/RETRIES_FOR_RECONNECTION) 1)))) + (+ (quot scalar/RETRIES scalar/RETRIES_FOR_RECONNECTION) 1))) (is (spy/called-n-times? scalar/prepare-storage-service! - (+ (quot scalar/RETRIES scalar/RETRIES_FOR_RECONNECTION) 1))))) + (+ (quot scalar/RETRIES scalar/RETRIES_FOR_RECONNECTION) 1)))))) (deftest transfer-client-check-tx-test (with-redefs [scalar/check-transaction-states (spy/stub 1)] diff --git a/scalardb/test/scalardb/transfer_test.clj b/scalardb/test/scalardb/transfer_test.clj index ac0d664..b750c60 100644 --- a/scalardb/test/scalardb/transfer_test.clj +++ b/scalardb/test/scalardb/transfer_test.clj @@ -206,9 +206,9 @@ nil)))) (is (spy/called-n-times? scalar/exponential-backoff scalar/RETRIES)) (is (spy/called-n-times? scalar/prepare-transaction-service! - (+ (quot scalar/RETRIES scalar/RETRIES_FOR_RECONNECTION) 1)))) + (+ (quot scalar/RETRIES scalar/RETRIES_FOR_RECONNECTION) 1))) (is (spy/called-n-times? scalar/prepare-storage-service! - (+ (quot scalar/RETRIES scalar/RETRIES_FOR_RECONNECTION) 1))))) + (+ (quot scalar/RETRIES scalar/RETRIES_FOR_RECONNECTION) 1)))))) (deftest transfer-client-check-tx-test (with-redefs [scalar/check-transaction-states (spy/stub 1)]