Repository: bigtop Updated Branches: refs/heads/master f7a08bad0 -> 158e74608
BIGTOP-1207. Create a foundation layer to build longevity and performance tests for the stack Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/158e7460 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/158e7460 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/158e7460 Branch: refs/heads/master Commit: 158e74608875888020964843f3e445cadd47af56 Parents: f7a08ba Author: Konstantin Boudnik <[email protected]> Authored: Tue Feb 4 15:41:40 2014 -0800 Committer: Konstantin Boudnik <[email protected]> Committed: Wed Feb 19 18:35:24 2014 -0800 ---------------------------------------------------------------------- bigtop-tests/test-artifacts/longevity/pom.xml | 41 +++++++ .../apache/bigtop/itest/iolongevity/.gitignore | 0 bigtop-tests/test-artifacts/pom.xml | 1 + .../test-execution/longevity/io/pom.xml | 73 +++++++++++++ bigtop-tests/test-execution/longevity/pom.xml | 107 +++++++++++++++++++ 5 files changed, 222 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/158e7460/bigtop-tests/test-artifacts/longevity/pom.xml ---------------------------------------------------------------------- diff --git a/bigtop-tests/test-artifacts/longevity/pom.xml b/bigtop-tests/test-artifacts/longevity/pom.xml new file mode 100644 index 0000000..34ea0e6 --- /dev/null +++ b/bigtop-tests/test-artifacts/longevity/pom.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.bigtop.itest</groupId> + <artifactId>bigtop-smokes</artifactId> + <version>0.8.0-SNAPSHOT</version> + <relativePath>../pom.xml</relativePath> + </parent> + + <groupId>org.apache.bigtop.itest</groupId> + <artifactId>io-longevity</artifactId> + <version>0.8.0-SNAPSHOT</version> + <name>io-longevity</name> + + <dependencies> + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-client</artifactId> + </dependency> + </dependencies> +</project> http://git-wip-us.apache.org/repos/asf/bigtop/blob/158e7460/bigtop-tests/test-artifacts/longevity/src/main/groovy/org/apache/bigtop/itest/iolongevity/.gitignore ---------------------------------------------------------------------- diff --git a/bigtop-tests/test-artifacts/longevity/src/main/groovy/org/apache/bigtop/itest/iolongevity/.gitignore b/bigtop-tests/test-artifacts/longevity/src/main/groovy/org/apache/bigtop/itest/iolongevity/.gitignore new file mode 100644 index 0000000..e69de29 http://git-wip-us.apache.org/repos/asf/bigtop/blob/158e7460/bigtop-tests/test-artifacts/pom.xml ---------------------------------------------------------------------- diff --git a/bigtop-tests/test-artifacts/pom.xml b/bigtop-tests/test-artifacts/pom.xml index a83a477..e3963cb 100644 --- a/bigtop-tests/test-artifacts/pom.xml +++ b/bigtop-tests/test-artifacts/pom.xml @@ -47,6 +47,7 @@ <module>crunch</module> <module>datafu</module> <module>fatjar</module> + <module>longevity</module> <module>hcatalog</module> <module>spark</module> <module>phoenix</module> http://git-wip-us.apache.org/repos/asf/bigtop/blob/158e7460/bigtop-tests/test-execution/longevity/io/pom.xml ---------------------------------------------------------------------- diff --git a/bigtop-tests/test-execution/longevity/io/pom.xml b/bigtop-tests/test-execution/longevity/io/pom.xml new file mode 100644 index 0000000..d86dcdf --- /dev/null +++ b/bigtop-tests/test-execution/longevity/io/pom.xml @@ -0,0 +1,73 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + + <parent> + <groupId>org.apache.bigtop.itest</groupId> + <artifactId>longevity-tests</artifactId> + <version>0.8.0-SNAPSHOT</version> + <relativePath>../pom.xml</relativePath> + </parent> + + <modelVersion>4.0.0</modelVersion> + <groupId>org.apache.bigtop.itest</groupId> + <artifactId>io</artifactId> + <version>0.8.0-SNAPSHOT</version> + <name>io-longevity-execution</name> + + <properties> + <!--Additional environment variables are required--> + <HADOOP_HOME>${env.HADOOP_HOME}</HADOOP_HOME> + <HADOOP_CONF_DIR>${env.HADOOP_CONF_DIR}</HADOOP_CONF_DIR> + <!-- Integration tests are special --> + <org.apache.maven-failsafe-plugin.testInclude>**/Test*</org.apache.maven-failsafe-plugin.testInclude> + <org.apache.maven-dependency-plugin.groupId>org.apache.bigtop.itest</org.apache.maven-dependency-plugin.groupId> + <org.apache.maven-dependency-plugin.artifactId>io-longevity</org.apache.maven-dependency-plugin.artifactId> + <org.apache.maven-dependency-plugin.version>${io-longevity.version}</org.apache.maven-dependency-plugin.version> + <org.apache.maven-dependency-plugin.type>jar</org.apache.maven-dependency-plugin.type> + </properties> + + <dependencies> + <dependency> + <groupId>org.apache.bigtop.itest</groupId> + <artifactId>io-longevity</artifactId> + <version>${org.apache.maven-dependency-plugin.version}</version> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-enforcer-plugin</artifactId> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-failsafe-plugin</artifactId> + </plugin> + </plugins> + </build> +</project> http://git-wip-us.apache.org/repos/asf/bigtop/blob/158e7460/bigtop-tests/test-execution/longevity/pom.xml ---------------------------------------------------------------------- diff --git a/bigtop-tests/test-execution/longevity/pom.xml b/bigtop-tests/test-execution/longevity/pom.xml new file mode 100644 index 0000000..d7cf8f9 --- /dev/null +++ b/bigtop-tests/test-execution/longevity/pom.xml @@ -0,0 +1,107 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + + <parent> + <groupId>org.apache.bigtop.itest</groupId> + <artifactId>stacks-common</artifactId> + <version>0.8.0-SNAPSHOT</version> + <relativePath>../common/pom.xml</relativePath> + </parent> + + <modelVersion>4.0.0</modelVersion> + <groupId>org.apache.bigtop.itest</groupId> + <artifactId>longevity-tests</artifactId> + <packaging>pom</packaging> + <version>0.8.0-SNAPSHOT</version> + <name>longevity</name> + + <properties> + <itest-conf.version>${project.version}</itest-conf.version> + <itest-common.version>${project.version}</itest-common.version> + <io-longevity.version>${project.version}</io-longevity.version> + </properties> + + <!-- + List of modules which should be executed as a part of stack testing run + --> + <modules> + <module>io</module> + </modules> + + <dependencyManagement> + <dependencies> + <!-- Import configuration resources for the stack validation --> + <dependency> + <groupId>org.apache.bigtop.itest</groupId> + <artifactId>smoke-tests-conf</artifactId> + <version>${itest-conf.version}</version> + <scope>test</scope> + </dependency> + + </dependencies> + </dependencyManagement> + + <dependencies> + <!-- We have to be configured in order to function properly --> + <dependency> + <groupId>org.apache.bigtop.itest</groupId> + <artifactId>smoke-tests-conf</artifactId> + <scope>test</scope> + </dependency> + <!-- Turn them on for all children --> + <dependency> + <groupId>org.apache.bigtop.itest</groupId> + <artifactId>itest-common</artifactId> + <scope>test</scope> + </dependency> + <!-- Gmaven plugin enables a lot of runtime flexibility for us --> + <dependency> + <groupId>org.codehaus.groovy.maven.runtime</groupId> + <artifactId>gmaven-runtime-1.6</artifactId> + </dependency> + </dependencies> + + <build> + <plugins> + <!-- Enabling gmaven plugin --> + <plugin> + <groupId>org.codehaus.groovy.maven</groupId> + <artifactId>gmaven-plugin</artifactId> + </plugin> + <!-- Enabling tests execution --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-failsafe-plugin</artifactId> + </plugin> + + <!--Let's skip unit tests all together for there are none--> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.11</version> + <configuration> + <skip>true</skip> + </configuration> + </plugin> + + </plugins> + </build> +</project>
