Skip to content

Commit

Permalink
Wait for latest-submitted-tx in tu/finish-chunk!
Browse files Browse the repository at this point in the history
  • Loading branch information
FiV0 committed Aug 15, 2023
1 parent 92efb97 commit 8edb34e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/clojure/xtdb/test_util.clj
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
(with-opts {:xtdb.log/memory-log {:instant-src (->mock-clock)}} f))

(defn finish-chunk! [node]
(then-await-tx (api/latest-submitted-tx node) node)
(idx/finish-chunk! (component node :xtdb/indexer)))

(defn open-vec
Expand Down

0 comments on commit 8edb34e

Please sign in to comment.