[ https://issues.apache.org/jira/browse/BEAM-3861?focusedWorklogId=83000&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-83000 ]
ASF GitHub Bot logged work on BEAM-3861: ---------------------------------------- Author: ASF GitHub Bot Created on: 22/Mar/18 00:30 Start Date: 22/Mar/18 00:30 Worklog Time Spent: 10m Work Description: markflyhigh opened a new pull request #4930: [BEAM-3861] Complete streaming wordcount test in Python SDK URL: https://github.com/apache/beam/pull/4930 Complete Python end-to-end testing framework to support streaming pipelines that use PubSub. Improvements are: - Add `PubSubMessageMatcher` which is a customized hamcrest matcher to pull messages from given subscription and verify content. - Auto-cancel streaming pipeline by test framework after all matchers are verified. - Few minor improvements and cleanup in `TestDataflowRunner` `StreamingWordCountITTest` can verify output messages and cancel pipeline after this change. The overall test workflow is: 1. Set up PubSub topics and subscriptions. 1. Build test options including required pipeline options and test verifiers. 1. Inject data to input topic. 1. Call `StreamingWordCount.run` with above options to start the pipeline. 1. Wait until pipeline start running. 1. Run verifiers. 1. Cancel streaming job. 1. Cleanup PubSub topics and subscriptions. Note: If other two improvement PRs ([PR-4921](https://github.com/apache/beam/pull/4921), [PR-4922](https://github.com/apache/beam/pull/4922)) are merged before this one, rebase is required before merging. ------------------------ Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Make sure there is a [JIRA issue](https://issues.apache.org/jira/projects/BEAM/issues/) filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes. - [x] Format the pull request title like `[BEAM-XXX] Fixes bug in ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA issue. - [x] Write a pull request description that is detailed enough to understand: - [ ] What the pull request does - [ ] Why it does it - [ ] How it does it - [ ] Why this approach - [ ] Each commit in the pull request should have a meaningful subject line and body. - [ ] Run `mvn clean verify` to make sure basic checks pass. A more thorough check will be performed on your pull request automatically. - [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). ---------------------------------------------------------------- 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: 83000) Time Spent: 4h 20m (was: 4h 10m) > Build test infra for end-to-end streaming test in Python SDK > ------------------------------------------------------------ > > Key: BEAM-3861 > URL: https://issues.apache.org/jira/browse/BEAM-3861 > Project: Beam > Issue Type: Task > Components: testing > Reporter: Mark Liu > Assignee: Mark Liu > Priority: Major > Time Spent: 4h 20m > Remaining Estimate: 0h > -- This message was sent by Atlassian JIRA (v7.6.3#76005)