File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
int-test/cmr/indexer/test
test/cmr/indexer/test/services Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 66 [clojurewerkz.elastisch.rest.index :as esi]
77 [cmr.elastic-utils.config :as es-config]
88 [cmr.elastic-utils.es-index-helper :as esi-helper]
9- [cmr.indexer.indexer-util :as indexer-util]
109 [cmr.indexer.services.index-set-service :as svc]
1110 [cmr.indexer.test.utility :as util]))
1211
8382 _ (is (= 204 status))
8483 {:keys [status resp]} (util/get-index-set index-set-id)
8584 _ (is (= 404 status))]
86- (is (empty? (:body resp)))))))
85+ (is (empty? (:body resp)))
86+ ; ; indices should be removed from both clusters
87+ (is (not (esi/exists? @util/elastic-connection coll-idx-name)))
88+ (is (not (esi/exists? @util/gran-elastic-connection gran-idx-name)))))))
8789
8890; ; Verify get index-sets fetches all index-sets in elastic.
8991; ; Create 2 index-sets with different ids but with same number of concepts and indices associated
Original file line number Diff line number Diff line change 44 [cheshire.core :as json]
55 [clojure.test :refer :all ]
66 [cmr.elastic-utils.config :as es-config]
7- [cmr.indexer.data.index-set :as index-set]
87 [cmr.common.util :refer [are3]]
98 [cmr.indexer.data.index-set-generics :as index-set-gen]
109 [cmr.indexer.services.index-set-service :as svc]
You can’t perform that action at this time.
0 commit comments