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-4426]: Addressed DataflowDistributionAccumulatorTest failure #5504

Merged
merged 1 commit into from May 29, 2018

Conversation

boyuanzz
Copy link
Contributor

Addressed DataflowDistributionAccumulatorTest failure on Windows

r: @pabloem
cc: @udim

@pabloem
Copy link
Member

pabloem commented May 29, 2018

This LGTM. I'll merge as soon as tests pass.

@pabloem
Copy link
Member

pabloem commented May 29, 2018

Unittest failed on this change @boyuanzz

@boyuanzz
Copy link
Contributor Author

Fixed in commit 3d0e682.

@boyuanzz
Copy link
Contributor Author

@pabloem pythonPreCommit passed

@@ -71,7 +70,7 @@ def test_translate_to_histogram_with_input_0(self):

def test_translate_to_histogram_with_max_input(self):
counter = DataflowDistributionCounter()
counter.add_input(sys.maxint)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, sys.maxint isn't in Python 3 so we would have had to change this line sooner or later.

@pabloem
Copy link
Member

pabloem commented May 29, 2018

LGTM.

@pabloem pabloem merged commit 7b25821 into apache:master May 29, 2018
@boyuanzz boyuanzz deleted the BEAM-4426 branch May 29, 2018 23:39
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.

None yet

3 participants