-
Notifications
You must be signed in to change notification settings - Fork 28.1k
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
[SPARK-10300] [build] [tests] Add support for test tags in run-tests.py. #8437
Conversation
Test build #41566 has finished for PR 8437 at commit
|
retest this please |
Test build #41567 has finished for PR 8437 at commit
|
retest this please |
Test build #41568 has finished for PR 8437 at commit
|
Test build #41572 has finished for PR 8437 at commit
|
Based on squito:SPARK-4746
From squito:SPARK-4746 it seems like they might not even be needed.
…iveTest. This allows a small set of tests to run for every PR, while runnign the whole test suite when changes to sql code are made (as decided by run-tests.py).
@pwendell @marmbrus what do you think of this approach? It's partly based on code that @squito wrote before to add tags for long-running tests. Main change is that I hooked things up to Note that the tests for this PR will run everything (since I'm touching files in the respective modules), but I tested locally that things are disabled properly when they should be. |
Test build #41639 has finished for PR 8437 at commit
|
This makes sbt happy now that I put the junit assembly in the shared dependencies in the root pom.
Test build #41641 has finished for PR 8437 at commit
|
The Thanks for working on this! |
Easy enough (good thing I made that change in a single commit). |
…xtendedHiveTest." This reverts commit b7d0507.
SQL changes LGTM. I'll let @pwendell comment on build changes. |
Conflicts: dev/run-tests-jenkins
Test build #41642 has finished for PR 8437 at commit
|
pyspark failures, seem unrelated. in any case... retest this please |
Test build #41645 has finished for PR 8437 at commit
|
Test build #41648 has finished for PR 8437 at commit
|
Another pyspark failure (that I've seen countless times in other PRs). |
retest this please |
Test build #41649 has finished for PR 8437 at commit
|
Test build #41657 has finished for PR 8437 at commit
|
Test build #41658 has finished for PR 8437 at commit
|
@JoshRosen should look at this |
@JoshRosen any comments? |
No comments? I already got a +1 from Michael, so as far as I can tell, this is good to go. |
LGTM - I've modified that script recently enough to be familiar with how it works. This seems like a good approach and could be useful for us in the future. |
ok, merging. |
This seems to have caused PR tests to start failing... I'll try things locally again and revert the patch if needed. |
Shall we revert the PR first? It is blocking other PRs. |
Done. |
For the curious, the issue is that the junit test runners (both surefire and the sbt one) need the tag classes around or they'll throw an error, and that happens when building modules where the tag is not available. I'm thinking about a workaround that does not involve removing the junit functionality. |
Are there plans to revive this PR and attempt another merge? |
This change does two things:
both in maven and sbt, for both junit and scalatest suites.
changed; that's used to disable expensive tests when a module hasn't explicitly
been changed, to speed up testing for changes that don't directly affect those
modules.