You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by ma...@apache.org on 2019/03/19 15:23:01 UTC

[beam] branch master updated: Update default test in run_integration_test.sh

This is an automated email from the ASF dual-hosted git repository.

markliu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 9756d68  Update default test in run_integration_test.sh
     new 23d1e3a  Merge pull request #7899 from markflyhigh/patch-4
9756d68 is described below

commit 9756d687f55c855f56826e277cce2e361a8d4d69
Author: Mark Liu <ma...@google.com>
AuthorDate: Tue Feb 19 17:51:18 2019 -0800

    Update default test in run_integration_test.sh
    
    Change default test to `apache_beam.examples.wordcount_it_test:WordCountIT.test_wordcount_it` if people run this script without other arguments or `gradlew :beam-sdks-python:integrationTest`.
    
    Use `--attr=IT` will result in executing all integration tests which may not be necessary for the default test set especially for people who are not familiar with this script and run first time.
---
 sdks/python/scripts/run_integration_test.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sdks/python/scripts/run_integration_test.sh b/sdks/python/scripts/run_integration_test.sh
index 33e8199..03e12b9 100755
--- a/sdks/python/scripts/run_integration_test.sh
+++ b/sdks/python/scripts/run_integration_test.sh
@@ -74,8 +74,9 @@ WORKER_JAR=""
 KMS_KEY_NAME="projects/apache-beam-testing/locations/global/keyRings/beam-it/cryptoKeys/test"
 
 # Default test (nose) options.
-# Default test sets are full integration tests.
-TEST_OPTS="--attr=IT --nocapture"
+# Run WordCountIT.test_wordcount_it by default if no test options are
+# provided.
+TEST_OPTS="--tests=apache_beam.examples.wordcount_it_test:WordCountIT.test_wordcount_it --nocapture"
 
 while [[ $# -gt 0 ]]
 do