mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-23 13:26:02 +00:00
[TESTS]: create directory for heapdumps if not exists
Before the heapdump was either written in a file with the directory name if the heapdump path ended without / or not written at all if the path ended with / closes #7645
This commit is contained in:
parent
ce2e65f6e7
commit
59ce940d43
15
pom.xml
15
pom.xml
@ -39,7 +39,7 @@
|
||||
<tests.bwc.path>${project.basedir}/backwards</tests.bwc.path>
|
||||
<es.logger.level>INFO</es.logger.level>
|
||||
<tests.heap.size>512m</tests.heap.size>
|
||||
<tests.heapdump.path>${basedir}/logs</tests.heapdump.path>
|
||||
<tests.heapdump.path>${basedir}/logs/</tests.heapdump.path>
|
||||
<tests.topn>5</tests.topn>
|
||||
<execution.hint.file>.local-${project.version}-execution-hints.log</execution.hint.file>
|
||||
</properties>
|
||||
@ -576,6 +576,19 @@
|
||||
</target>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<phase>generate-test-resources</phase>
|
||||
<id>create-heapdump-directory</id>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<echo message="Creating heapdump directory"/>
|
||||
<mkdir dir="${tests.heapdump.path}"/>
|
||||
</tasks>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>tests</id>
|
||||
<phase>test</phase>
|
||||
|
Loading…
x
Reference in New Issue
Block a user