From 72c017ec3f965faee9c879df9f3c485c0a0da38d Mon Sep 17 00:00:00 2001 From: Guillaume ERETEO Date: Thu, 12 Sep 2024 18:30:09 +0200 Subject: [PATCH] wip --- test/ctia/stores/es/init_test.clj | 2 +- test/ctia/task/migration/store_test.clj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/ctia/stores/es/init_test.clj b/test/ctia/stores/es/init_test.clj index d5f44823b..550695d89 100644 --- a/test/ctia/stores/es/init_test.clj +++ b/test/ctia/stores/es/init_test.clj @@ -243,7 +243,7 @@ (is (= 2 (get-in config [:settings :number_of_shards]))) (is (= {} (select-keys (:mappings config) [:a :b])))) (finally - (clean-all conn) + #(es-helpers/clean-es-state! conn (str indexname "*")) (conn/close conn))))))))) (deftest update-index-state-test diff --git a/test/ctia/task/migration/store_test.clj b/test/ctia/task/migration/store_test.clj index 021a35952..389d1b70c 100644 --- a/test/ctia/task/migration/store_test.clj +++ b/test/ctia/task/migration/store_test.clj @@ -665,7 +665,7 @@ (is (= (+ nb-docs-1 nb-docs-2) (sut/store-size store)) "store size shall return the proper number of documents after second refresh")) (finally - (es-helpers/clean-es-state! % (str indexname "*")))))))))) + (es-helpers/clean-es-state! conn (str indexname "*")))))))))) (defn test-query-fetch-batch-events [{:keys [version] :as conn} services]