|
104 | 104 | </configuration>
|
105 | 105 | </plugin>
|
106 | 106 | <plugin>
|
| 107 | + <groupId>com.carrotsearch.randomizedtesting</groupId> |
| 108 | + <artifactId>junit4-maven-plugin</artifactId> |
| 109 | + <version>2.0.12</version> |
| 110 | + <executions> |
| 111 | + <execution> |
| 112 | + <id>tests</id> |
| 113 | + <phase>test</phase> |
| 114 | + <goals> |
| 115 | + <goal>junit4</goal> |
| 116 | + </goals> |
| 117 | + <configuration> |
| 118 | + <heartbeat>20</heartbeat> |
| 119 | + <jvmOutputAction>pipe,warn</jvmOutputAction> |
| 120 | + <leaveTemporary>true</leaveTemporary> |
| 121 | + <listeners> |
| 122 | + <report-ant-xml mavenExtensions="true" |
| 123 | + dir="${project.build.directory}/surefire-reports"/> |
| 124 | + <report-text |
| 125 | + showThrowable="true" |
| 126 | + showStackTraces="true" |
| 127 | + showOutput="${tests.output}" |
| 128 | + showStatusOk="false" |
| 129 | + showStatusError="true" |
| 130 | + showStatusFailure="true" |
| 131 | + showStatusIgnored="true" |
| 132 | + showSuiteSummary="true" |
| 133 | + timestamps="false"/> |
| 134 | + <report-execution-times file="${basedir}/.local-execution-hints.log"/> |
| 135 | + </listeners> |
| 136 | + <assertions> |
| 137 | + <enable/> |
| 138 | + </assertions> |
| 139 | + <parallelism>${tests.jvms}</parallelism> |
| 140 | + <balancers> |
| 141 | + <execution-times> |
| 142 | + <fileset dir="${basedir}" includes=".local-execution-hints.log"/> |
| 143 | + </execution-times> |
| 144 | + </balancers> |
| 145 | + <includes> |
| 146 | + <include>**/*Tests.class</include> |
| 147 | + <include>**/*Test.class</include> |
| 148 | + </includes> |
| 149 | + <excludes> |
| 150 | + <exclude>**/Abstract*.class</exclude> |
| 151 | + <exclude>**/*StressTest.class</exclude> |
| 152 | + </excludes> |
| 153 | + <jvmArgs> |
| 154 | + <param>-Xmx512m</param> |
| 155 | + <param>-XX:MaxDirectMemorySize=512m</param> |
| 156 | + <param>-Des.logger.prefix=</param> |
| 157 | + </jvmArgs> |
| 158 | + <shuffleOnSlave>${tests.shuffle}</shuffleOnSlave> |
| 159 | + <sysouts>${tests.verbose}</sysouts> |
| 160 | + <seed>${tests.seed}</seed> |
| 161 | + <haltOnFailure>${tests.failfast}</haltOnFailure> |
| 162 | + <systemProperties> |
| 163 | + <!-- RandomizedTesting library system properties --> |
| 164 | + <tests.iters>${tests.iters}</tests.iters> |
| 165 | + <tests.maxfailures>${tests.maxfailures}</tests.maxfailures> |
| 166 | + <tests.failfast>${tests.failfast}</tests.failfast> |
| 167 | + <tests.class>${tests.class}</tests.class> |
| 168 | + <tests.method>${tests.method}</tests.method> |
| 169 | + <tests.nightly>${tests.nightly}</tests.nightly> |
| 170 | + <tests.badapples>${tests.badapples}</tests.badapples> |
| 171 | + <tests.weekly>${tests.weekly}</tests.weekly> |
| 172 | + <tests.slow>${tests.slow}</tests.slow> |
| 173 | + <tests.awaitsfix>${tests.awaitsfix}</tests.awaitsfix> |
| 174 | + <tests.slow>${tests.slow}</tests.slow> |
| 175 | + <tests.timeoutSuite>${tests.timeoutSuite}</tests.timeoutSuite> |
| 176 | + <tests.showSuccess>${tests.showSuccess}</tests.showSuccess> |
| 177 | + <tests.integration>${tests.integration}</tests.integration> |
| 178 | + <tests.cluster_seed>${tests.cluster_seed}</tests.cluster_seed> |
| 179 | + <tests.client.ratio>${tests.client.ratio}</tests.client.ratio> |
| 180 | + <es.node.local>${env.ES_TEST_LOCAL}</es.node.local> |
| 181 | + <es.node.mode>${es.node.mode}</es.node.mode> |
| 182 | + <es.logger.level>${es.logger.level}</es.logger.level> |
| 183 | + <java.awt.headless>true</java.awt.headless> |
| 184 | + </systemProperties> |
| 185 | + </configuration> |
| 186 | + </execution> |
| 187 | + </executions> |
| 188 | + </plugin> |
| 189 | + <plugin> |
| 190 | + <!-- we skip surefire to work with randomized testing above --> |
107 | 191 | <groupId>org.apache.maven.plugins</groupId>
|
108 | 192 | <artifactId>maven-surefire-plugin</artifactId>
|
109 |
| - <version>2.12.3</version> |
| 193 | + <version>2.15</version> |
110 | 194 | <configuration>
|
111 |
| - <includes> |
112 |
| - <include>**/*Tests.java</include> |
113 |
| - </includes> |
| 195 | + <skipTests>true</skipTests> |
114 | 196 | </configuration>
|
115 | 197 | </plugin>
|
| 198 | + |
116 | 199 | <plugin>
|
117 | 200 | <groupId>org.apache.maven.plugins</groupId>
|
118 | 201 | <artifactId>maven-source-plugin</artifactId>
|
|
0 commit comments