|
32 | 32 | <github.global.server>github</github.global.server> |
33 | 33 | <site.installationModule>google-cloud-bigquery-jdbc</site.installationModule> |
34 | 34 | <skipShade>false</skipShade> |
| 35 | + <preferIpv4.test.argLine>-Djava.net.preferIPv4Stack=true</preferIpv4.test.argLine> |
35 | 36 | </properties> |
36 | 37 |
|
37 | 38 | <build> |
|
47 | 48 | <artifactId>maven-surefire-plugin</artifactId> |
48 | 49 | <version>3.5.2</version> |
49 | 50 | <configuration> |
| 51 | + <argLine>@{argLine} ${preferIpv4.test.argLine}</argLine> |
50 | 52 | <skip>${skipSurefire}</skip> |
51 | 53 | <systemPropertyVariables> |
52 | 54 | <JDBC_TESTS>true</JDBC_TESTS> |
|
57 | 59 | <groupId>org.apache.maven.plugins</groupId> |
58 | 60 | <artifactId>maven-failsafe-plugin</artifactId> |
59 | 61 | <configuration> |
| 62 | + <argLine>@{argLine} ${preferIpv4.test.argLine}</argLine> |
60 | 63 | <systemPropertyVariables> |
61 | 64 | <JDBC_TESTS>true</JDBC_TESTS> |
62 | 65 | </systemPropertyVariables> |
|
477 | 480 | <groupId>org.apache.maven.plugins</groupId> |
478 | 481 | <artifactId>maven-surefire-plugin</artifactId> |
479 | 482 | <configuration> |
480 | | - <argLine>--add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED</argLine> |
| 483 | + <argLine>@{argLine} ${preferIpv4.test.argLine} --add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED</argLine> |
481 | 484 | </configuration> |
482 | 485 | </plugin> |
483 | 486 | <plugin> |
484 | 487 | <groupId>org.apache.maven.plugins</groupId> |
485 | 488 | <artifactId>maven-failsafe-plugin</artifactId> |
486 | 489 | <configuration> |
487 | | - <argLine>--add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED</argLine> |
| 490 | + <argLine>@{argLine} ${preferIpv4.test.argLine} --add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED</argLine> |
488 | 491 | </configuration> |
489 | 492 | </plugin> |
490 | 493 | </plugins> |
|
0 commit comments