Skip to content

Commit fa46e63

Browse files
Fix test after merge
Reindex did not compile due to addMapping having been removed.
1 parent 1d78248 commit fa46e63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/reindex/src/test/java/org/elasticsearch/index/reindex/ReindexResilientSearchIT.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public void testDataNodeRestart() throws Exception {
7272

7373
// create index and mapping up front to avoid master involvement, since that can result in an item failing with NodeClosedException.
7474
assertAcked(prepareCreate("dest")
75-
.addMapping("_doc", jsonBuilder()
75+
.setMapping(jsonBuilder()
7676
.startObject()
7777
.startObject("properties")
7878
.startObject("data")

0 commit comments

Comments
 (0)