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-8645] A test case for TimestampCombiner. #10081
Conversation
R: @robertwb |
Run Portable_Python PreCommit |
Hi, Robert,
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you try rebasing on master and seeing if that fixes the tests?
Pulled from master, and retried. The EARLIEST case still failed, with error: "apache_beam.runners.direct.executor: WARNING: A task failed with exception: Failed assert: [(('k', 500), Timestamp(7))] not in [(('k', 500), Timestamp(2))] [while running 'assert per window/Match']" |
would you please point out which PR in the master Might resolve the issue? I can follow and trace that part a bit using this test case. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strange. I'll try to figure out what's up here. Some minor style comments below.
Updated. |
result = (p | ||
| TestStream() | ||
.add_elements([window.TimestampedValue(('k', 100), 2)]) | ||
.add_elements([window.TimestampedValue(('k', 400), 7)]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Turns out this happens to work because 7 is the last element.
Run Portable_Python PreCommit |
Thanks for applying the unskip test. All test now passed. This PR is ready to be merged. |
@robertwb ping for merging this PR |
Adds test case for TimestampCombiner.
Skip tag is added (until BEAM-8657 and BEAM-8645 are resolved)
Related mailing list dicussions: https://lists.apache.org/thread.html/d3af1f2f84a2e59a747196039eae77812b78a991f0f293c717e5f4e1@%3Cdev.beam.apache.org%3E
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
R: @username
).[BEAM-XXX] Fixes bug in ApproximateQuantiles
, where you replaceBEAM-XXX
with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.See the Contributor Guide for more tips on how to make review process smoother.
Post-Commit Tests Status (on master branch)
Pre-Commit Tests Status (on master branch)
See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.