Skip to content

Commit

Permalink
HSEARCH-3759 Fix a bug in ElasticsearchIndexCreationAliasesIT
Browse files Browse the repository at this point in the history
We shouldn't create the new index through the test client,
since the test is about checking that the backend creates
the index by itself.
  • Loading branch information
yrodiere committed Mar 6, 2020
1 parent 408cf80 commit 1ba2f0b
Showing 1 changed file with 0 additions and 2 deletions.
Expand Up @@ -108,8 +108,6 @@ public void migrationFrom6Beta4OrEarlier() {
elasticsearchClient.index( oldIndexName, null, null )
.deleteAndCreate()
.type().putMapping( simpleMappingForInitialization( "" ) );
elasticsearchClient.index( INDEX_NAME )
.deleteAndCreate();

setup( null );

Expand Down

0 comments on commit 1ba2f0b

Please sign in to comment.