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-7594] Fix flaky filename generation #10194

Merged
merged 1 commit into from Dec 3, 2019
Merged

Conversation

udim
Copy link
Member

@udim udim commented Nov 22, 2019

See this comment for description of flake.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- Build Status --- --- Build Status
Java Build Status Build Status Build Status Build Status
Build Status
Build Status
Build Status Build Status Build Status
Build Status
Build Status
Python Build Status
Build Status
Build Status
Build Status
--- Build Status
Build Status
Build Status
Build Status
--- --- Build Status
XLang --- --- --- Build Status --- --- ---

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website
Non-portable Build Status Build Status
Build Status
Build Status Build Status
Portable --- Build Status --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

@udim
Copy link
Member Author

udim commented Nov 22, 2019

R: @pabloem

@udim
Copy link
Member Author

udim commented Nov 22, 2019

CC: @tvalentyn

@@ -101,17 +100,19 @@ def write_data(
return f.name, [line.decode('utf-8') for line in all_data]


def write_pattern(lines_per_file, no_data=False):
def write_pattern(lines_per_file, no_data=False, return_filenames=False):
Copy link
Member

Choose a reason for hiding this comment

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

It might be nice to change all of the uses of the function, instead of conditionally changing the return type. But I won't block the PR on this : ) LGTM

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't believe any of the other tests care about the filenames.

@pabloem
Copy link
Member

pabloem commented Nov 22, 2019

LGTM except for the one comment.

@udim
Copy link
Member Author

udim commented Nov 22, 2019

Run Python PreCommit

2 similar comments
@udim
Copy link
Member Author

udim commented Nov 28, 2019

Run Python PreCommit

@udim
Copy link
Member Author

udim commented Dec 2, 2019

Run Python PreCommit

@udim udim merged commit 08d9e7b into apache:master Dec 3, 2019
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

2 participants