Repository: incubator-hawq
Updated Branches:
  refs/heads/master d3f4826fb -> 7ab73156f


HAWQ-955. Add runnable scripts for feature test running in parallel.


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/7ab73156
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/7ab73156
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/7ab73156

Branch: refs/heads/master
Commit: 7ab73156f3f20f743a5cf97a3757eb9819b1b3eb
Parents: 3c2f5d2
Author: amyrazz44 <[email protected]>
Authored: Fri Oct 28 16:44:36 2016 +0800
Committer: amyrazz44 <[email protected]>
Committed: Mon Oct 31 10:57:49 2016 +0800

----------------------------------------------------------------------
 src/test/feature/README.md    | 3 +++
 src/test/feature/sequence.txt | 1 +
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/7ab73156/src/test/feature/README.md
----------------------------------------------------------------------
diff --git a/src/test/feature/README.md b/src/test/feature/README.md
index 737dd2b..85ed5c6 100644
--- a/src/test/feature/README.md
+++ b/src/test/feature/README.md
@@ -16,6 +16,7 @@ Before building the code of feature tests part, just make 
sure your compiler sup
 2. Load environment configuration by running `source 
$INSTALL_PREFIX/greenplum_path.sh`.
 3. Load hdfs configuration. For example, `export 
HADOOP_HOME=/Users/wuhong/hadoop-2.7.2 && export 
PATH=${PATH}:${HADOOP_HOME}/bin`. Since some test cases need `hdfs` and 
`hadoop` command, just ensure these commands work before running. Otherwise you 
will get failure.
 4. Run the cases with`./parallel-run-feature-test.sh 8 ./feature-test`(in this 
case 8 threads in parallel), you could use `--gtest_filter` option to filter 
test cases(both positive and negative patterns are supported). Please see more 
options by running `./feature-test --help`.
+5. As for now, there are several cases which in the sequence.txt file can not 
parallel run. Run the cases with `./parallel-run-feature-test.sh 8 
./feature-test --gtest_filter=-`cat ./sequence.txt``.
 
 # Development
 In contribution to HAWQ, we suggest developers submitting feature tests 
related to your feature development. In writting a featurte test, you need to 
write a cpp file inside corresponding folders. There are two recommended way to 
write this cpp file:
@@ -33,6 +34,8 @@ If some cases failed in your environment, check it out with 
the generated `.diff
 There are some cases expected to be fail in specific environment which need to 
be fixed later on. Don't worry about that.
 
 To run feature tests in parallel, make sure your python version is equal to or 
greater than 2.7.
+For RedHat Linux 6.x, you can upgrade python version to 2.7 by `yum -y install 
centos-release-scl
+&& yum -y install python27`
 
 # Reference
 [HAWQ-832](https://issues.apache.org/jira/browse/HAWQ-832)

http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/7ab73156/src/test/feature/sequence.txt
----------------------------------------------------------------------
diff --git a/src/test/feature/sequence.txt b/src/test/feature/sequence.txt
new file mode 100644
index 0000000..75cd7b3
--- /dev/null
+++ b/src/test/feature/sequence.txt
@@ -0,0 +1 @@
+TestHawqRegister.*:TestExternalOid.TestExternalOidAll:TestTemp.BasicTest:TestExternalTable.TestExternalTableAll

Reply via email to