Skip to content

Commit baee3fe

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 8df0a24 commit baee3fe

File tree

1 file changed

+42
-46
lines changed

1 file changed

+42
-46
lines changed

qa/rolling-upgrade/src/javaRestTest/java/org/elasticsearch/upgrades/FailureStoreUpgradeIT.java

Lines changed: 42 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)