Skip to content

Commit 9521dc7

Browse files
authored
ESQL: Clean index when retrying test (elastic#121954) (elastic#121980)
This modifies the `HeapAttackIT` test to clean an index created by the test if we have to retry it. Closes elastic#121873
1 parent 4c0a52e commit 9521dc7

File tree

1 file changed

+1
-0
lines changed
  • test/external-modules/esql-heap-attack/src/javaRestTest/java/org/elasticsearch/xpack/esql/heap_attack

1 file changed

+1
-0
lines changed

test/external-modules/esql-heap-attack/src/javaRestTest/java/org/elasticsearch/xpack/esql/heap_attack/HeapAttackIT.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,7 @@ private Map<String, Object> lookupExplosion(int sensorDataCount, int lookupEntri
684684
return responseAsMap(query(query.toString(), null));
685685
} finally {
686686
deleteIndex("sensor_data");
687+
deleteIndex("sensor_lookup");
687688
}
688689
}
689690

0 commit comments

Comments
 (0)