mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-27 17:10:22 -04:00
Improve error message when resource leaks are detected in test clusters (#109996)
We throw an error when we detect resource leaks in cluster logs but we don't provide any indication of which cluster, or which log. This change logs the path to the log file in question so you can investigate.
This commit is contained in:
parent
e41a10ee1d
commit
239eb9e84c
1 changed files with 1 additions and 1 deletions
|
@ -1139,7 +1139,7 @@ public class ElasticsearchNode implements TestClusterConfiguration {
|
|||
}
|
||||
}
|
||||
if (foundLeaks) {
|
||||
throw new TestClustersException("Found resource leaks in node logs.");
|
||||
throw new TestClustersException("Found resource leaks in node log: " + from);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue