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-7664] add more Python GBK Flink test cases #9106

Merged

Conversation

kkucharc
Copy link
Contributor

@kkucharc kkucharc commented Jul 19, 2019

Please add a meaningful description for your change here


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.

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
Python Build Status
Build Status
--- Build Status
Build Status
Build Status --- --- Build Status

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website
Non-portable 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.

@kkucharc kkucharc force-pushed the BEAM-7664-add-more-gbk-flink-test-cases branch 3 times, most recently from 573c27f to 2d85bcf Compare July 24, 2019 12:22
@kkucharc
Copy link
Contributor Author

run seed job

@kkucharc
Copy link
Contributor Author

Run Load Tests Python GBK Flink Batch

@kkucharc
Copy link
Contributor Author

R: @lgajowy Can you take a look? cc: @pabloem

Copy link
Contributor

@lgajowy lgajowy left a comment

Choose a reason for hiding this comment

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

Thanks! I left some suggestions but they're minor so I think we're almost there. :)

]
]}

def testConfigurationWithSixteenWorkers = { datasetName -> [
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should try keep the configurations together in one list if possible. Then do something like (pseudocode, just to sketch the idea):

 setup5WorkerFlink()
 def testsToRun = testConfigurations.findAll { it -> it.jobProperties.parallelism = 5 }
 run (testsToRun)

 scaleCluster(16 /* workers */);
 def testsToRun = testConfigurations.findAll { it -> it.jobProperties.parallelism = 16 }
 run(testsToRun) 

In case we have some more sophisticated criteria, we have all the data in one place and construct the query however we want. :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, I changed it so it's more flexible thanks to few closures :)


loadTestsBuilder.loadTest(scope, testConfig.title, testConfig.runner, testConfig.sdk, testConfig.jobProperties, testConfig.itClass)
numberOfWorkers = 5
infra.scaleCluster(scope, jenkinsJobName, numberOfWorkers)
Copy link
Contributor

Choose a reason for hiding this comment

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

This scaling sounds really cool. 😎

@kkucharc kkucharc force-pushed the BEAM-7664-add-more-gbk-flink-test-cases branch 2 times, most recently from 5c3b76a to 1ec3008 Compare July 31, 2019 09:23
@kkucharc
Copy link
Contributor Author

run seed job

@kkucharc
Copy link
Contributor Author

Run Load Tests Python GBK Flink Batch

@kkucharc
Copy link
Contributor Author

@lgajowy This is ready, I applied your suggestion. I also rebased with master (there were some conflicts)

Copy link
Contributor

@lgajowy lgajowy left a comment

Choose a reason for hiding this comment

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

Code looks ok. Could you reorganize the branch history and squash commits that are left after review? I will merge after that. Thanks!

@kkucharc kkucharc force-pushed the BEAM-7664-add-more-gbk-flink-test-cases branch from 8899f77 to dace04f Compare August 1, 2019 10:56
@kkucharc
Copy link
Contributor Author

kkucharc commented Aug 1, 2019

Thank you @lgajowy I just reorganised it.

@lgajowy
Copy link
Contributor

lgajowy commented Aug 1, 2019

Run seed job

@pabloem pabloem merged commit 544682f into apache:master Aug 2, 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

3 participants