|
31 | 31 | </parent>
|
32 | 32 |
|
33 | 33 | <properties>
|
34 |
| - <elasticsearch.version>0.90.4</elasticsearch.version> |
| 34 | + <elasticsearch.version>0.90.10</elasticsearch.version> |
| 35 | + <lucene.version>4.6.0</lucene.version> |
| 36 | + <tests.output>onerror</tests.output> |
| 37 | + <tests.jvms>1</tests.jvms> |
| 38 | + <tests.shuffle>true</tests.shuffle> |
| 39 | + <tests.output>onerror</tests.output> |
| 40 | + <tests.client.ratio></tests.client.ratio> |
| 41 | + <tests.jvm.argline></tests.jvm.argline> |
| 42 | + <es.logger.level>INFO</es.logger.level> |
35 | 43 | </properties>
|
36 | 44 |
|
37 | 45 | <repositories>
|
|
42 | 50 | </repositories>
|
43 | 51 |
|
44 | 52 | <dependencies>
|
| 53 | + <dependency> |
| 54 | + <groupId>org.apache.lucene</groupId> |
| 55 | + <artifactId>lucene-test-framework</artifactId> |
| 56 | + <version>${lucene.version}</version> |
| 57 | + <scope>test</scope> |
| 58 | + </dependency> |
| 59 | + |
45 | 60 | <dependency>
|
46 | 61 | <groupId>org.elasticsearch</groupId>
|
47 | 62 | <artifactId>elasticsearch</artifactId>
|
48 | 63 | <version>${elasticsearch.version}</version>
|
49 | 64 | <scope>compile</scope>
|
50 | 65 | </dependency>
|
51 | 66 |
|
| 67 | + <dependency> |
| 68 | + <groupId>org.elasticsearch</groupId> |
| 69 | + <artifactId>elasticsearch</artifactId> |
| 70 | + <version>${elasticsearch.version}</version> |
| 71 | + <type>test-jar</type> |
| 72 | + <scope>test</scope> |
| 73 | + </dependency> |
| 74 | + |
52 | 75 | <dependency>
|
53 | 76 | <groupId>com.amazonaws</groupId>
|
54 | 77 | <artifactId>aws-java-sdk</artifactId>
|
|
87 | 110 | <version>1.4</version>
|
88 | 111 | </dependency>
|
89 | 112 |
|
90 |
| - <dependency> |
91 |
| - <groupId>junit</groupId> |
92 |
| - <artifactId>junit</artifactId> |
93 |
| - <version>4.11</version> |
94 |
| - <scope>test</scope> |
95 |
| - </dependency> |
96 |
| - |
97 | 113 | <dependency>
|
98 | 114 | <groupId>org.hamcrest</groupId>
|
99 | 115 | <artifactId>hamcrest-core</artifactId>
|
|
107 | 123 | <version>1.3.RC2</version>
|
108 | 124 | <scope>test</scope>
|
109 | 125 | </dependency>
|
| 126 | + |
| 127 | + <dependency> |
| 128 | + <groupId>log4j</groupId> |
| 129 | + <artifactId>log4j</artifactId> |
| 130 | + <version>1.2.17</version> |
| 131 | + <scope>test</scope> |
| 132 | + <optional>true</optional> |
| 133 | + </dependency> |
| 134 | + |
110 | 135 | </dependencies>
|
111 | 136 |
|
112 | 137 | <build>
|
|
120 | 145 | <target>1.6</target>
|
121 | 146 | </configuration>
|
122 | 147 | </plugin>
|
| 148 | + <plugin> |
| 149 | + <groupId>com.carrotsearch.randomizedtesting</groupId> |
| 150 | + <artifactId>junit4-maven-plugin</artifactId> |
| 151 | + <version>2.0.14</version> |
| 152 | + <executions> |
| 153 | + <execution> |
| 154 | + <id>tests</id> |
| 155 | + <phase>test</phase> |
| 156 | + <goals> |
| 157 | + <goal>junit4</goal> |
| 158 | + </goals> |
| 159 | + <configuration> |
| 160 | + <heartbeat>20</heartbeat> |
| 161 | + <jvmOutputAction>pipe,warn</jvmOutputAction> |
| 162 | + <leaveTemporary>true</leaveTemporary> |
| 163 | + <listeners> |
| 164 | + <report-ant-xml mavenExtensions="true" |
| 165 | + dir="${project.build.directory}/surefire-reports"/> |
| 166 | + <report-text |
| 167 | + showThrowable="true" |
| 168 | + showStackTraces="true" |
| 169 | + showOutput="${tests.output}" |
| 170 | + showStatusOk="false" |
| 171 | + showStatusError="true" |
| 172 | + showStatusFailure="true" |
| 173 | + showStatusIgnored="true" |
| 174 | + showSuiteSummary="true" |
| 175 | + timestamps="false"/> |
| 176 | + <report-execution-times file="${basedir}/.local-execution-hints.log"/> |
| 177 | + </listeners> |
| 178 | + <assertions> |
| 179 | + <enable/> |
| 180 | + </assertions> |
| 181 | + <parallelism>${tests.jvms}</parallelism> |
| 182 | + <balancers> |
| 183 | + <execution-times> |
| 184 | + <fileset dir="${basedir}" includes=".local-execution-hints.log"/> |
| 185 | + </execution-times> |
| 186 | + </balancers> |
| 187 | + <includes> |
| 188 | + <include>**/*Tests.class</include> |
| 189 | + <include>**/*Test.class</include> |
| 190 | + </includes> |
| 191 | + <excludes> |
| 192 | + <exclude>**/Abstract*.class</exclude> |
| 193 | + <exclude>**/*StressTest.class</exclude> |
| 194 | + </excludes> |
| 195 | + <argLine> |
| 196 | + ${tests.jvm.argline} |
| 197 | + </argLine> |
| 198 | + <jvmArgs> |
| 199 | + <param>-Xmx512m</param> |
| 200 | + <param>-Xss256k</param> |
| 201 | + <param>-XX:MaxDirectMemorySize=512m</param> |
| 202 | + <param>-Des.logger.prefix=</param> |
| 203 | + </jvmArgs> |
| 204 | + <shuffleOnSlave>${tests.shuffle}</shuffleOnSlave> |
| 205 | + <sysouts>${tests.verbose}</sysouts> |
| 206 | + <seed>${tests.seed}</seed> |
| 207 | + <haltOnFailure>${tests.failfast}</haltOnFailure> |
| 208 | + <systemProperties> |
| 209 | + <!-- RandomizedTesting library system properties --> |
| 210 | + <tests.jvm.argline>${tests.jvm.argline}</tests.jvm.argline> |
| 211 | + <tests.iters>${tests.iters}</tests.iters> |
| 212 | + <tests.maxfailures>${tests.maxfailures}</tests.maxfailures> |
| 213 | + <tests.failfast>${tests.failfast}</tests.failfast> |
| 214 | + <tests.class>${tests.class}</tests.class> |
| 215 | + <tests.method>${tests.method}</tests.method> |
| 216 | + <tests.nightly>${tests.nightly}</tests.nightly> |
| 217 | + <tests.badapples>${tests.badapples}</tests.badapples> |
| 218 | + <tests.weekly>${tests.weekly}</tests.weekly> |
| 219 | + <tests.slow>${tests.slow}</tests.slow> |
| 220 | + <tests.aws>${tests.aws}</tests.aws> |
| 221 | + <tests.awaitsfix>${tests.awaitsfix}</tests.awaitsfix> |
| 222 | + <tests.slow>${tests.slow}</tests.slow> |
| 223 | + <tests.timeoutSuite>${tests.timeoutSuite}</tests.timeoutSuite> |
| 224 | + <tests.showSuccess>${tests.showSuccess}</tests.showSuccess> |
| 225 | + <tests.integration>${tests.integration}</tests.integration> |
| 226 | + <tests.cluster_seed>${tests.cluster_seed}</tests.cluster_seed> |
| 227 | + <tests.client.ratio>${tests.client.ratio}</tests.client.ratio> |
| 228 | + <es.node.local>${env.ES_TEST_LOCAL}</es.node.local> |
| 229 | + <es.node.mode>${es.node.mode}</es.node.mode> |
| 230 | + <es.config>${es.config}</es.config> |
| 231 | + <es.logger.level>${es.logger.level}</es.logger.level> |
| 232 | + <java.awt.headless>true</java.awt.headless> |
| 233 | + </systemProperties> |
| 234 | + </configuration> |
| 235 | + </execution> |
| 236 | + </executions> |
| 237 | + </plugin> |
123 | 238 | <plugin>
|
124 | 239 | <groupId>org.apache.maven.plugins</groupId>
|
125 | 240 | <artifactId>maven-surefire-plugin</artifactId>
|
126 | 241 | <version>2.11</version>
|
127 | 242 | <configuration>
|
128 |
| - <includes> |
129 |
| - <include>**/*Tests.java</include> |
130 |
| - </includes> |
| 243 | + <skip>true</skip> |
131 | 244 | </configuration>
|
132 | 245 | </plugin>
|
133 | 246 | <plugin>
|
|
0 commit comments