[BUG_FIX]fix multi-threaded tests error.#3044
Merged
davidzollo merged 4 commits intoapache:devfrom Jun 23, 2020
CalvinKirs:fix_mock_test_error
Merged
[BUG_FIX]fix multi-threaded tests error.#3044davidzollo merged 4 commits intoapache:devfrom CalvinKirs:fix_mock_test_error
davidzollo merged 4 commits intoapache:devfrom
CalvinKirs:fix_mock_test_error
Conversation
|
Kudos, SonarCloud Quality Gate passed!
|
liuhuijuan-bx
pushed a commit
to tss-baosight/incubator-dolphinscheduler
that referenced
this pull request
Jun 25, 2020
* fix test mock error * fix test mock error
davidzollo
pushed a commit
that referenced
this pull request
Jun 25, 2020
…ies (#3041) * fix release for nginx bug * add state (#3040) Co-authored-by: mzjnumber1@163.com <mzjnumber1@163.com> * [BUG_FIX]fix multi-threaded tests error. (#3044) * fix test mock error * fix test mock error Co-authored-by: muzhongjiang <mu_zhongjiang@163.com> Co-authored-by: mzjnumber1@163.com <mzjnumber1@163.com> Co-authored-by: CalvinKirs <acm_master@163.com>
lenboo
pushed a commit
that referenced
this pull request
Jun 30, 2020
…ies (#3041) * fix release for nginx bug * add state (#3040) Co-authored-by: mzjnumber1@163.com <mzjnumber1@163.com> * [BUG_FIX]fix multi-threaded tests error. (#3044) * fix test mock error * fix test mock error Co-authored-by: muzhongjiang <mu_zhongjiang@163.com> Co-authored-by: mzjnumber1@163.com <mzjnumber1@163.com> Co-authored-by: CalvinKirs <acm_master@163.com>
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.
Tips
What is the purpose of the pull request
When I ut, he will accidentally get the following error in the concurrent situation(The specific error message can be found on this link:https://github.com/apache/incubator-dolphinscheduler/pull/3027/checks?check_run_id=799051935)
queryUserQueueByProcessInstanceId() should return String
If you're unsure why you're getting above error read on.
Due to the nature of the syntax above problem might occur because:
Please refer to Mockito FAQ on limitations of concurrency testing.
I fixed it to avoid affecting subsequent pr submissions
Related documents can be seen:https://groups.google.com/forum/?fromgroups#!topic/mockito/9WUvkhZUy90
Verify this pull request
This pull request is already covered by existing tests, such as (please describe tests).