Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnvg committed May 15, 2024
1 parent 1e11c14 commit 4647443
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1884,20 +1884,18 @@ private Response createJobAndDataFeed(String jobId, String datafeedId) throws IO

private static void createDummyRollupIndex() throws IOException {
// create dummy rollup index to circumvent the check that prohibits rollup usage in empty clusters:
{
Request req = new Request("PUT", "dummy-rollup-index");
req.setJsonEntity("""
{
"mappings":{
"_meta": {
"_rollup":{
"my-id": {}
}
Request req = new Request("PUT", "dummy-rollup-index");
req.setJsonEntity("""
{
"mappings":{
"_meta": {
"_rollup":{
"my-id": {}
}
}
}
""");
client().performRequest(req);
}
}
""");
client().performRequest(req);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -437,16 +437,16 @@ public void testRollupAfterRestart() throws Exception {
{
Request req = new Request("PUT", "dummy-rollup-index");
req.setJsonEntity("""
{
"mappings":{
"_meta": {
"_rollup":{
"my-id": {}
{
"mappings":{
"_meta": {
"_rollup":{
"my-id": {}
}
}
}
}
}
""");
""");
client().performRequest(req);
}

Expand Down

0 comments on commit 4647443

Please sign in to comment.