mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-20 03:45:02 +00:00
fix test bug leftover from #9914
This commit is contained in:
parent
0cec37f3c3
commit
fe62e463e1
@ -964,7 +964,6 @@ public class GetActionTests extends ElasticsearchIntegrationTest {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testUngeneratedFieldsThatAreAlwaysStored() throws IOException {
|
public void testUngeneratedFieldsThatAreAlwaysStored() throws IOException {
|
||||||
String storedString = randomBoolean() ? "yes" : "no";
|
|
||||||
String createIndexSource = "{\n" +
|
String createIndexSource = "{\n" +
|
||||||
" \"settings\": {\n" +
|
" \"settings\": {\n" +
|
||||||
" \"index.translog.disable_flush\": true,\n" +
|
" \"index.translog.disable_flush\": true,\n" +
|
||||||
@ -980,8 +979,7 @@ public class GetActionTests extends ElasticsearchIntegrationTest {
|
|||||||
" \"type\": \"parentdoc\"\n" +
|
" \"type\": \"parentdoc\"\n" +
|
||||||
" },\n" +
|
" },\n" +
|
||||||
" \"_ttl\": {\n" +
|
" \"_ttl\": {\n" +
|
||||||
" \"enabled\": true,\n" +
|
" \"enabled\": true\n" +
|
||||||
" \"store\": \"" + storedString + "\"\n" +
|
|
||||||
" }\n" +
|
" }\n" +
|
||||||
" }\n" +
|
" }\n" +
|
||||||
" }\n" +
|
" }\n" +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user