Format AbstractFilteringTestCase#77217
Conversation
`AbstractFilteringTestCase` had a ton of carefully formatted `XContentBuilder` calls that would have been totally unreadable after the formatter worked its magic. So I formatted a bunch of them by hand and extracted the rest to json files.
|
Pinging @elastic/es-core-infra (Team:Core/Infra) |
|
I tried to extract the json to a file if it was about half a page or so. I figured casual readers wouldn't read a half page of json and an interested reader would be willing to look up the file. |
|
I also added one of the direct subclasses of |
tlrx
left a comment
There was a problem hiding this comment.
LGTM - thanks for doing this Nik!
I'm happy to do it! I ran the formatter on the file just to see what would happen. It was made me so very very sad. |
💔 Backport failed
To backport manually run |
With great respect, I will do it my own way. |
`AbstractFilteringTestCase` had a ton of carefully formatted `XContentBuilder` calls that would have been totally unreadable after the formatter worked its magic. So I formatted a bunch of them by hand and extracted the rest to json files.
|
Backport is #77254. Made with good old |
`AbstractFilteringTestCase` had a ton of carefully formatted `XContentBuilder` calls that would have been totally unreadable after the formatter worked its magic. So I formatted a bunch of them by hand and extracted the rest to json files.
* master: (128 commits) Mute DieWithDignityIT (elastic#77283) Fix randomization in MlNodeShutdownIT (elastic#77281) Add target_node_name for REPLACE shutdown type (elastic#77151) [DOCS] Adds information about version compatibility headers (elastic#77096) Fix template equals when mappings are wrapped (elastic#77008) Fix TextFieldMapper Retaining a Reference to its Builder (elastic#77251) Move die with dignity to be a test module (elastic#77136) Update task names for rest compatiblity (elastic#75267) [ML] adjusting bwc serialization for elastic#77256 (elastic#77257) Move `index.hidden` from Static to Dynamic settings (elastic#77218) Handle cgroups v2 in `OsProbe` (elastic#77128) Choose postings format from FieldMapper instead of MappedFieldType (elastic#77234) Add segment sorter for data streams (elastic#75195) Update skip after backport (elastic#77212) [ML] adding new defer_definition_decompression parameter to put trained model API (elastic#77189) [ML] Fix bug in inference stats persister for when feature reset is called Only check replicas in cancelling existing recoveries. (elastic#60564) Format `AbstractFilteringTestCase` (elastic#77217) [DOCS] Fixes line breaks. (elastic#77248) Convert 'routing' values in REST API tests to strings ... # Conflicts: # server/src/main/java/org/elasticsearch/cluster/metadata/DataStream.java
AbstractFilteringTestCasehad a ton of carefully formattedXContentBuildercalls that would have been totally unreadable afterthe formatter worked its magic. So I formatted a bunch of them by hand
and extracted the rest to json files.