[ https://issues.apache.org/jira/browse/BEAM-5058?focusedWorklogId=155231&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-155231 ]
ASF GitHub Bot logged work on BEAM-5058: ---------------------------------------- Author: ASF GitHub Bot Created on: 17/Oct/18 00:48 Start Date: 17/Oct/18 00:48 Worklog Time Spent: 10m Work Description: udim commented on a change in pull request #6707: [BEAM-5058] Run basic ITs in Python Precommit URL: https://github.com/apache/beam/pull/6707#discussion_r225750474 ########## File path: sdks/python/build.gradle ########## @@ -226,6 +228,26 @@ task directRunnerIT(dependsOn: 'installGcpTest') { } } +task precommitIT(dependsOn: ['installGcpTest', 'sdist']) { + doLast { + // List of integration tests running in Python PreCommit. + def precommitTests = [ + "apache_beam.examples.wordcount_it_test:WordCountIT.test_wordcount_it", + "apache_beam.examples.streaming_wordcount_it_test:StreamingWordCountIT.test_streaming_wordcount_it", + ] + def testOpts = [ Review comment: No need for `--attr=IT`, `--nologcapture`, `--nocapture`? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 155231) Time Spent: 0.5h (was: 20m) > Python precommits should run E2E tests > -------------------------------------- > > Key: BEAM-5058 > URL: https://issues.apache.org/jira/browse/BEAM-5058 > Project: Beam > Issue Type: Bug > Components: sdk-py-core, testing > Reporter: Udi Meiri > Priority: Major > Time Spent: 0.5h > Remaining Estimate: 0h > > According to [https://beam.apache.org/contribute/testing/] (which I'm working > on), end-to-end tests should be run in precommit on each combination of > \{batch, streaming}x\{SDK language}x\{supported runner}. > At least 2 tests need to be added to Python's precommit: wordcount and > wordcount_streaming on Dataflow, and possibly on other supported runners > (direct runner and new runners plz). > These tests should be configured to run from a Gradle sub-project, so that > they're run in parallel to the unit tests. > Example that parallelizes Java precommit integration tests: > [https://github.com/apache/beam/pull/5731] -- This message was sent by Atlassian JIRA (v7.6.3#76005)