You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@asterixdb.apache.org by mb...@apache.org on 2023/10/04 13:07:50 UTC
[asterixdb] 03/04: [NO ISSUE][*DB][TEST] += ability for modules to add jvm args to tests
This is an automated email from the ASF dual-hosted git repository.
mblow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/asterixdb.git
commit 8a18d7386399d34c850cb1df0c612208a2d6e5b0
Author: Michael Blow <mi...@couchbase.com>
AuthorDate: Tue Oct 3 16:52:24 2023 -0400
[NO ISSUE][*DB][TEST] += ability for modules to add jvm args to tests
Change-Id: I5c344fd96c304ec22aed902a66eddbb6027facb4
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/17834
Reviewed-by: Michael Blow <mb...@apache.org>
Reviewed-by: Ali Alsuliman <al...@gmail.com>
Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
---
asterixdb/pom.xml | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/asterixdb/pom.xml b/asterixdb/pom.xml
index c1ee08facf..a710303803 100644
--- a/asterixdb/pom.xml
+++ b/asterixdb/pom.xml
@@ -62,6 +62,8 @@
<skip.surefire.tests>${skipTests}</skip.surefire.tests>
<skip.testResources>${maven.test.skip}</skip.testResources>
<testLog4jConfigFile>${root.dir}/asterix-app/src/test/resources/log4j2-asterixdb-test.xml</testLog4jConfigFile>
+ <extraSurefireArgLine/>
+ <extraFailsafeArgLine/>
<!-- Definition of tests in various categories which may be excluded -->
<repeated.tests>**/RepeatedTest.java</repeated.tests>
@@ -146,6 +148,7 @@
-Xdebug
-Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=${debug.suspend.flag}
${coverageArgLine}
+ ${extraSurefireArgLine}
</argLine>
<includes>
<include>${test.includes}</include>
@@ -163,7 +166,10 @@
<runOrder>alphabetical</runOrder>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
- <argLine>${coverageArgLine}</argLine>
+ <argLine>
+ ${coverageArgLine}
+ ${extraFailsafeArgLine}
+ </argLine>
<systemProperties>
<log4j.configurationFile>${testLog4jConfigFile}</log4j.configurationFile>
</systemProperties>