Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BEAM-6621] Basic Bigquery IO tests on Python 3 PostCommit #7782

Merged
merged 1 commit into from
Feb 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion sdks/python/precommit/dataflow/py3/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@ def runScriptsDir = "${project.rootDir}/sdks/python/scripts"

task preCommitIT(dependsOn: ['sdist', 'installGcpTest']) {
doLast {
def tests = [
"apache_beam.examples.wordcount_it_test:WordCountIT.test_wordcount_it",
"apache_beam.examples.cookbook.bigquery_tornadoes_it_test:BigqueryTornadoesIT.test_bigquery_tornadoes_it",
]
def testOpts = [
"--tests=apache_beam.examples.wordcount_it_test:WordCountIT.test_wordcount_it",
"--tests=${tests.join(',')}",
"--nocapture", // Print stdout instantly
]
def cmdArgs = project.mapToArgString(["test_opts": testOpts])
Expand Down
6 changes: 5 additions & 1 deletion sdks/python/precommit/direct/py3/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,12 @@ def runScriptsDir = "${project.rootDir}/sdks/python/scripts"
task preCommitIT(dependsOn: ['sdist', 'installGcpTest']) {
// Run IT tests with TestDirectRunner in batch in Python 3.
doLast {
def batchTests = [
"apache_beam.examples.wordcount_it_test:WordCountIT.test_wordcount_it",
"apache_beam.examples.cookbook.bigquery_tornadoes_it_test:BigqueryTornadoesIT.test_bigquery_tornadoes_it",
]
def testOpts = [
"--tests=apache_beam.examples.wordcount_it_test:WordCountIT.test_wordcount_it",
"--tests=${batchTests.join(',')}",
"--nocapture", // Print stdout instantly
]
def argMap = ["runner": "TestDirectRunner",
Expand Down