Skip to content

Conversation

@bjchambers
Copy link
Contributor

Commit 1 adds a ParDo test that hangs the direct runner as described in BEAM-3806. Commit 2 fixes it.

Ben Chambers added 2 commits March 8, 2018 10:25
1. TimerUpdates should use an ordered collection so that the most recent
   timestamp set by user code is the one taken throughout the system.
2. Application of TimerUpdates needs to keep all three data structures
   in sync.
3. Add unit tests that the data structures are consistent.
@bjchambers bjchambers requested a review from tgroh March 8, 2018 18:27
@bjchambers
Copy link
Contributor Author

Run Java PreCommit

@bjchambers bjchambers merged commit 2180974 into apache:master Mar 10, 2018
@bjchambers bjchambers deleted the 3806-fix-direct-runner branch March 10, 2018 01:07
@aljoscha
Copy link
Contributor

I think this broke ParDoTest for runners that don't support TestStream because the news tests are missing a UsesTestStream annotation.

Fix: #4849

bjchambers added a commit to bjchambers/beam that referenced this pull request Mar 15, 2018
Fix handling of timers in WatermarkManager

1. TimerUpdates should use an ordered collection so that the most recent
   timestamp set by user code is the one taken throughout the system.
2. Application of TimerUpdates needs to keep all three data structures
   in sync.
3. Add unit tests that the data structures are consistent.

Added ParDoTest hangs when run with the DirectRunner prior to the other changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants