[KYUUBI #4713][TEST] Fix false positive result in SchedulerPoolSuite#4714
Merged
pan3793 merged 2 commits intoapache:masterfrom Apr 20, 2023
Merged
[KYUUBI #4713][TEST] Fix false positive result in SchedulerPoolSuite#4714pan3793 merged 2 commits intoapache:masterfrom
pan3793 merged 2 commits intoapache:masterfrom
Conversation
Contributor
Author
|
Cause of this issue:
|
Codecov Report
@@ Coverage Diff @@
## master #4714 +/- ##
============================================
+ Coverage 57.98% 58.00% +0.01%
Complexity 13 13
============================================
Files 580 580
Lines 32213 32270 +57
Branches 4304 4307 +3
============================================
+ Hits 18678 18717 +39
- Misses 11741 11752 +11
- Partials 1794 1801 +7 see 33 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
pan3793
approved these changes
Apr 16, 2023
Member
pan3793
left a comment
There was a problem hiding this comment.
Make sense to me, cc @ulysses-you
ulysses-you
approved these changes
Apr 17, 2023
pan3793
pushed a commit
that referenced
this pull request
Apr 17, 2023
### _Why are the changes needed?_ fix issuse #4713 ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [X] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request Closes #4714 from huangzhir/fixtest-schedulerpool. Closes #4713 e66ede2 [huangzhir] fixbug TEST SchedulerPoolSuite a false positive result Authored-by: huangzhir <306824224@qq.com> Signed-off-by: Cheng Pan <chengpan@apache.org> (cherry picked from commit 57b0611) Signed-off-by: Cheng Pan <chengpan@apache.org>
Member
|
Thanks, merged to master/1.7 |
Contributor
Author
|
hello, @pan3793 There is an error in the code. Can you reopen this PR? This error leads to an obvious failure when checking in the 1.7 branch. |
huangtruman
approved these changes
Apr 17, 2023
...uubi-spark-sql-engine/src/test/scala/org/apache/kyuubi/engine/spark/SchedulerPoolSuite.scala
Outdated
Show resolved
Hide resolved
Contributor
Author
|
@pan3793 @ulysses-you I've made some changes to the code,make sure job1 started before job2 and would appreciate it if you could review them. |
ulysses-you
approved these changes
Apr 19, 2023
pan3793
approved these changes
Apr 20, 2023
pan3793
pushed a commit
that referenced
this pull request
Apr 20, 2023
…4714) ### _Why are the changes needed?_ fix issuse #4713 ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [X] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request Closes #4714 from huangzhir/fixtest-schedulerpool. Closes #4713 Authored-by: huangzhir <306824224@qq.com> Signed-off-by: Cheng Pan <chengpan@apache.org>
Member
|
Thanks, merged to master/1.7 |
3 tasks
3 tasks
pan3793
pushed a commit
that referenced
this pull request
Apr 21, 2023
### _Why are the changes needed?_ To fix issue #4713, a PR #4714 was submitted, but it had Flaky test issues. After 50 local tests, it succeeded 38 times and failed 12 times. This PR addresses the issue of flaky tests. ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request Closes #4749 from huangzhir/fixtest-schedulerpool. Closes #4749 2d2e140 [huangzhir] call KyuubiSparkContextHelper.waitListenerBus() to make sure there are no more events in the spark event queue 52a34d2 [fwang12] [KYUUBI #4746] Do not recreate async request executor if has been shutdown d4558ea [huangzhir] Merge branch 'master' into fixtest-schedulerpool 44c4cef [huangzhir] make sure the SparkListener has received the finished events for job1 and job2. 8a753e9 [huangzhir] make sure job1 started before job2 e66ede2 [huangzhir] fixbug TEST SchedulerPoolSuite a false positive result Lead-authored-by: huangzhir <306824224@qq.com> Co-authored-by: fwang12 <fwang12@ebay.com> Signed-off-by: Cheng Pan <chengpan@apache.org>
pan3793
pushed a commit
that referenced
this pull request
Apr 21, 2023
### _Why are the changes needed?_ To fix issue #4713, a PR #4714 was submitted, but it had Flaky test issues. After 50 local tests, it succeeded 38 times and failed 12 times. This PR addresses the issue of flaky tests. ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request Closes #4749 from huangzhir/fixtest-schedulerpool. Closes #4749 2d2e140 [huangzhir] call KyuubiSparkContextHelper.waitListenerBus() to make sure there are no more events in the spark event queue 52a34d2 [fwang12] [KYUUBI #4746] Do not recreate async request executor if has been shutdown d4558ea [huangzhir] Merge branch 'master' into fixtest-schedulerpool 44c4cef [huangzhir] make sure the SparkListener has received the finished events for job1 and job2. 8a753e9 [huangzhir] make sure job1 started before job2 e66ede2 [huangzhir] fixbug TEST SchedulerPoolSuite a false positive result Lead-authored-by: huangzhir <306824224@qq.com> Co-authored-by: fwang12 <fwang12@ebay.com> Signed-off-by: Cheng Pan <chengpan@apache.org> (cherry picked from commit 2c55a1f) Signed-off-by: Cheng Pan <chengpan@apache.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why are the changes needed?
fix issuse #4713
How was this patch tested?
Add some test cases that check the changes thoroughly including negative and positive cases if possible
Add screenshots for manual tests if appropriate
Run test locally before make a pull request