You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/external-modules/esql-heap-attack/src/javaRestTest/java/org/elasticsearch/xpack/esql/heap_attack/HeapAttackIT.java
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -129,6 +129,15 @@ public void testSortByManyLongsTooMuchMemoryAsync() throws IOException {
129
129
try {
130
130
resp = client().performRequest(fetch);
131
131
} catch (ResponseExceptione) {
132
+
if (e.getResponse().getStatusLine().getStatusCode() == 403) {
133
+
/*
134
+
* There's a bug when loading from the translog with security
135
+
* enabled. If we retry a few times we'll load from the index
136
+
* itself and should succeed.
137
+
*/
138
+
logger.error("polled for results got 403");
139
+
continue;
140
+
}
132
141
if (e.getResponse().getStatusLine().getStatusCode() == 404) {
0 commit comments