-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-enable HeapAttackIT #104107
Re-enable HeapAttackIT #104107
Conversation
49414e5
to
dea08cf
Compare
039bdec
to
5ffdfa2
Compare
5ffdfa2
to
3c03315
Compare
Pinging @elastic/es-analytics-geo (Team:Analytics) |
@@ -5,6 +5,13 @@ | |||
* in compliance with, at your election, the Elastic License 2.0 or the Server | |||
* Side Public License, v 1. | |||
*/ | |||
import org.elasticsearch.gradle.internal.info.BuildParams | |||
|
|||
apply plugin: 'elasticsearch.legacy-yaml-rest-test' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was moved from the parent module.
@@ -6,6 +6,13 @@ | |||
* Side Public License, v 1. | |||
*/ | |||
|
|||
import org.elasticsearch.gradle.internal.info.BuildParams | |||
apply plugin: 'elasticsearch.legacy-yaml-rest-test' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This also was moved from the parent module.
List<int[]> values = new ArrayList<>(); | ||
return channel -> { | ||
while (true) { | ||
values.add(new int[1024 * 1024]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rude.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wonderful.
@mark-vieira @nik9000 Thanks for reviews. |
This PR enables ESQL heap attack tests. I have run this suite over 500 iterations with different hardware configurations for the last two days, and all have been successful with the changes in #104159.
Additionally, this PR adds an action that can trigger OOM to generate a heap dump if a test takes more than 5 minutes. I've seen cases (previously with our CI) where the test didn't result in OOM but was taking too long. Having the ability to inspect the heap in such cases would be beneficial.
Closes #103527
Closes #100678