|
35 | 35 | <file.encoding>UTF-8</file.encoding> |
36 | 36 | <downloadSources>true</downloadSources> |
37 | 37 | <hadoop.tmp.dir>${project.build.directory}/test</hadoop.tmp.dir> |
38 | | - |
39 | | - <!-- are scale tests enabled ? --> |
40 | | - <fs.gs.scale.test.enabled>unset</fs.gs.scale.test.enabled> |
41 | | - <!-- Size in MB of huge files. --> |
42 | | - <fs.gs.scale.test.huge.filesize>unset</fs.gs.scale.test.huge.filesize> |
43 | | - <!-- Size in MB of the partion size in huge file uploads. --> |
44 | | - <fs.gs.scale.test.huge.partitionsize>unset</fs.gs.scale.test.huge.partitionsize> |
45 | | - <!-- Timeout in seconds for scale tests.--> |
46 | | - <fs.gs.scale.test.timeout>3600</fs.gs.scale.test.timeout> |
47 | | - |
48 | | - <!-- Set a longer timeout for integration test (in milliseconds) --> |
49 | | - <test.integration.timeout>200000</test.integration.timeout> |
50 | | - |
51 | | - <!-- Job ID; allows for parallel jobs on same bucket --> |
52 | | - <!-- job.id is used to build the path for tests; default is 00.--> |
53 | | - <job.id>00</job.id> |
54 | | - <!-- are root tests enabled. Set to false when running parallel jobs on same bucket --> |
55 | | - <root.tests.enabled>unset</root.tests.enabled> |
56 | 38 | </properties> |
57 | 39 |
|
58 | 40 | <profiles> |
|
113 | 95 | <test.build.dir>${test.build.dir}/${surefire.forkNumber}</test.build.dir> |
114 | 96 | <hadoop.tmp.dir>${hadoop.tmp.dir}/${surefire.forkNumber}</hadoop.tmp.dir> |
115 | 97 | <test.unique.fork.id>job-${job.id}-fork-000${surefire.forkNumber}</test.unique.fork.id> |
116 | | - |
117 | | - <!-- Propagate scale parameters --> |
118 | | - <fs.gs.scale.test.enabled>${fs.gs.scale.test.enabled}</fs.gs.scale.test.enabled> |
119 | | - <fs.gs.scale.test.huge.filesize>${fs.gs.scale.test.huge.filesize}</fs.gs.scale.test.huge.filesize> |
120 | | - <fs.gs.scale.test.huge.huge.partitionsize>${fs.gs.scale.test.huge.partitionsize}</fs.gs.scale.test.huge.huge.partitionsize> |
121 | | - <fs.gs.scale.test.timeout>${fs.gs.scale.test.timeout}</fs.gs.scale.test.timeout> |
122 | 98 | </systemPropertyVariables> |
123 | 99 | </configuration> |
124 | 100 | </plugin> |
|
150 | 126 | <!-- substitution. Putting a prefix in front of it like --> |
151 | 127 | <!-- "fork-" makes it work. --> |
152 | 128 | <test.unique.fork.id>job-${job.id}-fork-000${surefire.forkNumber}</test.unique.fork.id> |
153 | | - <!-- Propagate scale parameters --> |
154 | | - <fs.gs.scale.test.enabled>${fs.gs.scale.test.enabled}</fs.gs.scale.test.enabled> |
155 | | - <fs.gs.scale.test.huge.filesize>${fs.gs.scale.test.huge.filesize}</fs.gs.scale.test.huge.filesize> |
156 | | - <fs.gs.scale.test.huge.huge.partitionsize>${fs.gs.scale.test.huge.partitionsize}</fs.gs.scale.test.huge.huge.partitionsize> |
157 | | - <fs.gs.scale.test.timeout>${fs.gs.scale.test.timeout}</fs.gs.scale.test.timeout> |
158 | 129 | <test.default.timeout>${test.integration.timeout}</test.default.timeout> |
159 | | - <!-- Stream Type --> |
160 | | -<!-- <fs.gs.input.stream.type>${stream}</fs.gs.input.stream.type>--> |
161 | | - <!-- are root tests enabled. Set to false when running parallel jobs on same bucket --> |
162 | | - <fs.gs.root.tests.enabled>${root.tests.enabled}</fs.gs.root.tests.enabled> |
163 | | - |
164 | 130 | </systemPropertyVariables> |
165 | | - <!-- Some tests cannot run in parallel. Tests that cover --> |
166 | | - <!-- access to the root directory must run in isolation --> |
167 | | - <!-- from anything else that could modify the bucket. --> |
168 | | - <!-- MiniYARNCluster has not yet been --> |
169 | | - <!-- changed to handle parallel test execution gracefully. --> |
170 | | - <!-- Exclude all of these tests from parallel execution, --> |
171 | | - <!-- and instead run them sequentially in a separate --> |
172 | | - <!-- Surefire execution step later. --> |
173 | 131 | <includes> |
174 | 132 | <include>**/ITest*.java</include> |
175 | 133 | </includes> |
|
187 | 145 | <systemPropertyVariables> |
188 | 146 | <!-- Tell tests that they are being executed sequentially --> |
189 | 147 | <test.parallel.execution>false</test.parallel.execution> |
190 | | - <!-- Propagate scale parameters --> |
191 | | - <fs.gs.scale.test.enabled>${fs.gs.scale.test.enabled}</fs.gs.scale.test.enabled> |
192 | | - <fs.gs.scale.test.huge.filesize>${fs.gs.scale.test.huge.filesize}</fs.gs.scale.test.huge.filesize> |
193 | | - <fs.gs.scale.test.huge.huge.partitionsize>${fs.gs.scale.test.huge.partitionsize}</fs.gs.scale.test.huge.huge.partitionsize> |
194 | | - <fs.gs.scale.test.timeout>${fs.gs.scale.test.timeout}</fs.gs.scale.test.timeout> |
195 | | - <!-- Stream Type --> |
196 | | -<!-- <fs.gs.input.stream.type>${stream}</fs.gs.input.stream.type>--> |
197 | | - <!-- are root tests enabled. Set to false when running parallel jobs on same bucket --> |
198 | | -<!-- <fs.gs.root.tests.enabled>${root.tests.enabled}</fs.gs.root.tests.enabled>--> |
199 | 148 | <test.unique.fork.id>job-${job.id}</test.unique.fork.id> |
200 | 149 | </systemPropertyVariables> |
201 | 150 | <!-- Do a sequential run for tests that cannot handle --> |
|
231 | 180 | <configuration> |
232 | 181 | <trimStackTrace>false</trimStackTrace> |
233 | 182 | <systemPropertyVariables> |
234 | | - <!-- Propagate scale parameters --> |
235 | | - <fs.gs.scale.test.enabled>${fs.gs.scale.test.enabled}</fs.gs.scale.test.enabled> |
236 | | - <fs.gs.scale.test.huge.filesize>${fs.gs.scale.test.huge.filesize}</fs.gs.scale.test.huge.filesize> |
237 | | - <fs.gs.scale.test.timeout>${fs.gs.scale.test.timeout}</fs.gs.scale.test.timeout> |
238 | | - |
239 | 183 | <test.unique.fork.id>job-${job.id}</test.unique.fork.id> |
240 | 184 | </systemPropertyVariables> |
241 | | - <forkedProcessTimeoutInSeconds>${fs.gs.scale.test.timeout}</forkedProcessTimeoutInSeconds> |
242 | 185 | </configuration> |
243 | 186 | </execution> |
244 | 187 | </executions> |
245 | 188 | </plugin> |
246 | 189 | </plugins> |
247 | 190 | </build> |
248 | 191 | </profile> |
249 | | - |
250 | | - <!-- Turn on scale tests--> |
251 | | - <profile> |
252 | | - <id>scale</id> |
253 | | - <activation> |
254 | | - <property> |
255 | | - <name>scale</name> |
256 | | - </property> |
257 | | - </activation> |
258 | | - <properties > |
259 | | - <fs.gs.scale.test.enabled>true</fs.gs.scale.test.enabled> |
260 | | - </properties> |
261 | | - </profile> |
262 | | - |
263 | | - <!-- Turn on prefetching--> |
264 | | - <profile> |
265 | | - <id>prefetch</id> |
266 | | - <activation> |
267 | | - <property> |
268 | | - <name>prefetch</name> |
269 | | - </property> |
270 | | - </activation> |
271 | | - <properties> |
272 | | - <stream>prefetch</stream> |
273 | | - </properties> |
274 | | - </profile> |
275 | | - |
276 | | - <!-- Switch to the analytics input stream--> |
277 | | - <profile> |
278 | | - <id>analytics</id> |
279 | | - <activation> |
280 | | - <property> |
281 | | - <name>analytics</name> |
282 | | - </property> |
283 | | - </activation> |
284 | | - <properties> |
285 | | - <stream>analytics</stream> |
286 | | - </properties> |
287 | | - </profile> |
288 | | - |
289 | 192 | </profiles> |
290 | 193 |
|
291 | 194 | <build> |
|
469 | 372 | </systemPropertyVariables> |
470 | 373 | </configuration> |
471 | 374 | </plugin> |
472 | | - <plugin> |
473 | | - <groupId>org.apache.maven.plugins</groupId> |
474 | | - <artifactId>maven-dependency-plugin</artifactId> |
475 | | - <executions> |
476 | | - <execution> |
477 | | - <id>deplist1</id> |
478 | | - <phase>compile</phase> |
479 | | - <goals> |
480 | | - <goal>list</goal> |
481 | | - </goals> |
482 | | - <configuration> |
483 | | - <!-- build a shellprofile for hadoop-aws optional tools --> |
484 | | - <outputFile>${project.basedir}/target/hadoop-tools-deps/${project.artifactId}.tools-optional.txt</outputFile> |
485 | | - </configuration> |
486 | | - </execution> |
487 | | - <execution> |
488 | | - <id>copy</id> |
489 | | - <phase>test-compile</phase> |
490 | | - <goals> |
491 | | - <goal>copy-dependencies</goal> |
492 | | - </goals> |
493 | | - <configuration> |
494 | | - <includeScope>test</includeScope> |
495 | | - <includeTypes>so,dll,dylib</includeTypes> |
496 | | - <outputDirectory>${project.build.directory}/native-libs</outputDirectory> |
497 | | - </configuration> |
498 | | - </execution> |
499 | | - <execution> |
500 | | - <phase>package</phase> |
501 | | - <goals> |
502 | | - <goal>copy-dependencies</goal> |
503 | | - </goals> |
504 | | - <configuration> |
505 | | - <outputDirectory>${project.build.directory}/lib</outputDirectory> |
506 | | - </configuration> |
507 | | - </execution> |
508 | | - <execution> |
509 | | - <id>deplist2</id> |
510 | | - <phase>compile</phase> |
511 | | - <goals> |
512 | | - <goal>list</goal> |
513 | | - </goals> |
514 | | - <configuration> |
515 | | - <outputFile>${project.basedir}/target/hadoop-tools-deps/${project.artifactId}.tools-builtin.txt</outputFile> |
516 | | - </configuration> |
517 | | - </execution> |
518 | | - </executions> |
519 | | - </plugin> |
520 | 375 | <plugin> |
521 | 376 | <groupId>org.apache.maven.plugins</groupId> |
522 | 377 | <artifactId>maven-enforcer-plugin</artifactId> |
|
0 commit comments