Skip to content

Commit 89ae30a

Browse files
authored
Merge branch 'main' into multi-project/fix/customer-authz-engine
2 parents 7bfb5e8 + 782a36c commit 89ae30a

File tree

1 file changed

+1
-9
lines changed
  • x-pack/plugin/esql/qa/server/single-node/src/javaRestTest/java/org/elasticsearch/xpack/esql/qa/single_node

1 file changed

+1
-9
lines changed

x-pack/plugin/esql/qa/server/single-node/src/javaRestTest/java/org/elasticsearch/xpack/esql/qa/single_node/RestEsqlIT.java

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ public void testForceSleepsProfile() throws IOException {
504504
String description = p.get("description").toString();
505505
switch (description) {
506506
case "data" -> assertMap(sleeps, matchesMap().entry("counts", Map.of()).entry("first", List.of()).entry("last", List.of()));
507-
case "node_reduce" -> {
507+
case "node_reduce", "final" -> {
508508
assertMap(sleeps, matchesMap().entry("counts", matchesMap().entry("exchange empty", greaterThan(0))).extraOk());
509509
@SuppressWarnings("unchecked")
510510
List<Map<String, Object>> first = (List<Map<String, Object>>) sleeps.get("first");
@@ -517,14 +517,6 @@ public void testForceSleepsProfile() throws IOException {
517517
assertMap(s, sleepMatcher);
518518
}
519519
}
520-
case "final" -> {
521-
assertMap(
522-
sleeps,
523-
matchesMap().entry("counts", matchesMap().entry("exchange empty", 1))
524-
.entry("first", List.of(sleepMatcher))
525-
.entry("last", List.of(sleepMatcher))
526-
);
527-
}
528520
default -> throw new IllegalArgumentException("unknown task: " + description);
529521
}
530522
}

0 commit comments

Comments
 (0)