From f7aaa0c54c39cbe0a62d916fa8955e0821a4c709 Mon Sep 17 00:00:00 2001 From: yito88 Date: Sun, 23 Jun 2024 22:26:06 +0200 Subject: [PATCH] fix for lint and fix test for group commit --- scalardb/src/scalardb/transfer.clj | 4 +--- scalardb/src/scalardb/transfer_append.clj | 3 +-- scalardb/test/scalardb/core_test.clj | 4 +++- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/scalardb/src/scalardb/transfer.clj b/scalardb/src/scalardb/transfer.clj index 50b63ff..e7ea196 100644 --- a/scalardb/src/scalardb/transfer.clj +++ b/scalardb/src/scalardb/transfer.clj @@ -14,9 +14,7 @@ Result) (com.scalar.db.io IntValue Key) - (com.scalar.db.exception.storage ExecutionException) - (com.scalar.db.exception.transaction CrudException - UnknownTransactionStatusException))) + (com.scalar.db.exception.transaction UnknownTransactionStatusException))) (def ^:private ^:const TABLE "transfer") (def ^:private ^:const ACCOUNT_ID "account_id") diff --git a/scalardb/src/scalardb/transfer_append.clj b/scalardb/src/scalardb/transfer_append.clj index bfa169b..9197376 100644 --- a/scalardb/src/scalardb/transfer_append.clj +++ b/scalardb/src/scalardb/transfer_append.clj @@ -13,8 +13,7 @@ Scan$Ordering Scan$Ordering$Order Result) - (com.scalar.db.exception.transaction CrudException - UnknownTransactionStatusException) + (com.scalar.db.exception.transaction UnknownTransactionStatusException) (com.scalar.db.io IntValue Key))) diff --git a/scalardb/test/scalardb/core_test.clj b/scalardb/test/scalardb/core_test.clj index 5c39604..00d00de 100644 --- a/scalardb/test/scalardb/core_test.clj +++ b/scalardb/test/scalardb/core_test.clj @@ -25,7 +25,9 @@ (condp = column "tx_id" (Optional/of (TextValue. column id)) "tx_created_at" (Optional/of (BigIntValue. column (long 1566376246))) - "tx_state" (Optional/of (IntValue. column (Integer/parseInt id))))))) + "tx_state" (Optional/of (IntValue. column (Integer/parseInt id))) + ;; for the coordinator table + "tx_child_ids" (Optional/empty))))) (def mock-db (reify