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-5123] Testsuite do not run all the tests it should #18

Merged
merged 7 commits into from
Aug 21, 2018

Conversation

VaclavPlajt
Copy link

Class import collision unearthed and fixed. New logs recording test suite test methods resolving added. Small cleanup (unused parameter, unwanted TODO).


Follow this checklist to help us incorporate your contribution quickly and easily:

  • 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.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.

Post-Commit Tests Status (on master branch)

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

@VaclavPlajt VaclavPlajt changed the title [BEAM-5123] Testsuite do not run all the test it should [BEAM-5123] Testsuite do not run all the tests it should Aug 10, 2018
dmvk pushed a commit that referenced this pull request Aug 17, 2018
dmvk pushed a commit that referenced this pull request Aug 17, 2018
for (Class<?> testClass : testClasses) {
LOG.info(String.format("Testkit will schedule tests in '%s'.", testClass));

Choose a reason for hiding this comment

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

Meanwhile exception messages doesnt provide good solution for formatting, logging methods do. I would prefer, String.format is uselesss here or is there some benefit?
LOG.info("Testkit will schedule tests in {}.", testClass);

Copy link
Author

Choose a reason for hiding this comment

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

No benefit. Only the info method has unclear contract to me. I do not know how to log Throwable with custom message without putting Throwable as last formatting parameter. Something which can potentially break once SLF4J implementation changes.

@@ -59,7 +59,9 @@ public TestSuiteRunner(Class<?> klass) throws Throwable {
BeamRunnerWrapper runner =

Choose a reason for hiding this comment

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

Its not used now, why is it there?

Copy link
Author

Choose a reason for hiding this comment

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

Removed. Thanks.

@mareksimunek
Copy link

Few minor changes and we are good to go :)

@VaclavPlajt VaclavPlajt changed the base branch from vasek/pair_to_KV to dsl-euphoria August 20, 2018 14:06
@VaclavPlajt VaclavPlajt merged commit 8cff46b into dsl-euphoria Aug 21, 2018
@VaclavPlajt VaclavPlajt deleted the vasek/testsuit-fix branch August 21, 2018 13:39
dmvk pushed a commit that referenced this pull request Oct 5, 2018
dmvk pushed a commit that referenced this pull request Oct 5, 2018
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.

2 participants