From 1ca04b7baea10563631a12773f2f4342e9851b3c Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Fri, 21 Feb 2025 13:55:32 -0800 Subject: [PATCH] Capture core dump files from tests (#123169) When running Elasticsearch in tests we occassionally have JDK crashes. It's important to capture the state of the JVM at the time of the crash. We currently capture the hs_err_pid file for the crash, but the resulting core file exists in a directory that is no captured. This commit adjusts the capture patterns to also get core files. --- .../gradle/internal/ElasticsearchBuildCompletePlugin.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchBuildCompletePlugin.java b/build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchBuildCompletePlugin.java index b1207a2f5161..065a57f801c9 100644 --- a/build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchBuildCompletePlugin.java +++ b/build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchBuildCompletePlugin.java @@ -110,6 +110,8 @@ public abstract class ElasticsearchBuildCompletePlugin implements Plugin