@@ -40,55 +40,51 @@ public FailureStoreUpgradeIT(@Name("upgradedNodes") int upgradedNodes) {
4040 }
4141
4242 final String INDEX_TEMPLATE = """
43- {
44- "index_patterns": ["$PATTERN"],
45- "data_stream": {},
46- "template": {
47- "mappings":{
48- "properties": {
49- "@timestamp" : {
50- "type": "date"
51- },
52- "numeral": {
53- "type": "long"
54- }
55- }
43+ {
44+ "index_patterns": ["$PATTERN"],
45+ "data_stream": {},
46+ "template": {
47+ "mappings":{
48+ "properties": {
49+ "@timestamp" : {
50+ "type": "date"
51+ },
52+ "numeral": {
53+ "type": "long"
5654 }
5755 }
58- }""" ;
59-
60- private static final String VALID_DOC =
61- """
62- {"@timestamp": "$now", "numeral": 0}
63- """ ;
64-
65- private static final String INVALID_DOC =
66- """
67- {"@timestamp": "$now", "numeral": "foobar"}
68- """ ;
69-
70- private static final String BULK =
71- """
72- {"create": {}}
73- {"@timestamp": "$now", "numeral": 0}
74- {"create": {}}
75- {"@timestamp": "$now", "numeral": 1}
76- {"create": {}}
77- {"@timestamp": "$now", "numeral": 2}
78- {"create": {}}
79- {"@timestamp": "$now", "numeral": 3}
80- {"create": {}}
81- {"@timestamp": "$now", "numeral": 4}
82- """ ;
83-
84- private static final String ENABLE_FAILURE_STORE_OPTIONS =
85- """
86- {
87- "failure_store": {
88- "enabled": true
89- }
56+ }
9057 }
91- """ ;
58+ }""" ;
59+
60+ private static final String VALID_DOC = """
61+ {"@timestamp": "$now", "numeral": 0}
62+ """ ;
63+
64+ private static final String INVALID_DOC = """
65+ {"@timestamp": "$now", "numeral": "foobar"}
66+ """ ;
67+
68+ private static final String BULK = """
69+ {"create": {}}
70+ {"@timestamp": "$now", "numeral": 0}
71+ {"create": {}}
72+ {"@timestamp": "$now", "numeral": 1}
73+ {"create": {}}
74+ {"@timestamp": "$now", "numeral": 2}
75+ {"create": {}}
76+ {"@timestamp": "$now", "numeral": 3}
77+ {"create": {}}
78+ {"@timestamp": "$now", "numeral": 4}
79+ """ ;
80+
81+ private static final String ENABLE_FAILURE_STORE_OPTIONS = """
82+ {
83+ "failure_store": {
84+ "enabled": true
85+ }
86+ }
87+ """ ;
9288
9389 public void testFailureStoreOnPreviouslyExistingDataStream () throws Exception {
9490 assumeFalse (
0 commit comments