Skip to content

Commit

Permalink
fix for lint and fix test for group commit
Browse files Browse the repository at this point in the history
  • Loading branch information
yito88 committed Jun 23, 2024
1 parent 94a74ed commit f7aaa0c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 1 addition & 3 deletions scalardb/src/scalardb/transfer.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
3 changes: 1 addition & 2 deletions scalardb/src/scalardb/transfer_append.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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)))

Expand Down
4 changes: 3 additions & 1 deletion scalardb/test/scalardb/core_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f7aaa0c

Please sign in to comment.