-
Notifications
You must be signed in to change notification settings - Fork 323
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
Enable parallel discovery #3349
Merged
Merged
Conversation
This file contains 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
…ayuzbas/par-discovery
…ayuzbas/par-discovery
# Conflicts: # src/Microsoft.TestPlatform.Client/DesignMode/DesignModeClient.cs # src/Microsoft.TestPlatform.Client/Discovery/DiscoveryRequest.cs # src/Microsoft.TestPlatform.Client/RequestHelper/ITestRequestManager.cs # src/Microsoft.TestPlatform.Common/Interfaces/Engine/ClientProtocol/IParallelProxyDiscoveryManager.cs # src/Microsoft.TestPlatform.Common/Interfaces/Engine/ClientProtocol/IProxyDiscoveryManager.cs # src/Microsoft.TestPlatform.Common/Interfaces/Engine/TesthostProtocol/IDiscoveryManager.cs # src/Microsoft.TestPlatform.CommunicationUtilities/Interfaces/ITestRequestSender.cs # src/Microsoft.TestPlatform.CommunicationUtilities/JsonDataSerializer.cs # src/Microsoft.TestPlatform.CommunicationUtilities/Messages/DiscoveryCompletePayload.cs # src/Microsoft.TestPlatform.CommunicationUtilities/TestRequestSender.cs # src/Microsoft.TestPlatform.CrossPlatEngine/Client/InProcessProxyDiscoveryManager.cs # src/Microsoft.TestPlatform.CrossPlatEngine/Client/Parallel/ParallelDiscoveryDataAggregator.cs # src/Microsoft.TestPlatform.CrossPlatEngine/Client/Parallel/ParallelDiscoveryEventsHandler.cs # src/Microsoft.TestPlatform.CrossPlatEngine/Client/Parallel/ParallelProxyDiscoveryManager.cs # src/Microsoft.TestPlatform.CrossPlatEngine/Client/ProxyDiscoveryManager.cs # src/Microsoft.TestPlatform.CrossPlatEngine/Discovery/DiscovererEnumerator.cs # src/Microsoft.TestPlatform.CrossPlatEngine/Discovery/DiscoveryManager.cs # src/Microsoft.TestPlatform.CrossPlatEngine/EventHandlers/TestRequestHandler.cs # src/Microsoft.TestPlatform.ObjectModel/Client/Events/DiscoveryCompleteEventArgs.cs # src/Microsoft.TestPlatform.ObjectModel/Client/Interfaces/IDiscoveryRequest.cs # src/Microsoft.TestPlatform.ObjectModel/Constants.cs # src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/VsTestConsoleRequestSender.cs # src/vstest.console/TestPlatformHelpers/TestRequestManager.cs # test/Microsoft.TestPlatform.AcceptanceTests/TranslationLayerTests/DiscoverTests.cs # test/Microsoft.TestPlatform.AcceptanceTests/TranslationLayerTests/EventHandler/DiscoveryEventHandler.cs # test/Microsoft.TestPlatform.Client.UnitTests/DesignMode/DesignModeClientTests.cs # test/Microsoft.TestPlatform.Client.UnitTests/Discovery/DiscoveryRequestTests.cs # test/Microsoft.TestPlatform.CrossPlatEngine.UnitTests/Client/Parallel/ParallelDiscoveryDataAggregatorTests.cs # test/Microsoft.TestPlatform.CrossPlatEngine.UnitTests/Client/Parallel/ParallelDiscoveryEventsHandlerTests.cs # test/Microsoft.TestPlatform.CrossPlatEngine.UnitTests/Client/Parallel/ParallelProxyDiscoveryManagerTests.cs # test/Microsoft.TestPlatform.CrossPlatEngine.UnitTests/Discovery/DiscoveryManagerTests.cs # test/TranslationLayer.UnitTests/VsTestConsoleRequestSenderTests.cs # test/vstest.console.UnitTests/TestPlatformHelpers/TestRequestManagerTests.cs
Evangelink
commented
Feb 10, 2022
src/Microsoft.TestPlatform.Common/Interfaces/Engine/ClientProtocol/IProxyDiscoveryManager.cs
Outdated
Show resolved
Hide resolved
…ocol/IProxyDiscoveryManager.cs
Evangelink
commented
Feb 10, 2022
...osoft.TestPlatform.Common/Interfaces/Engine/ClientProtocol/IParallelProxyDiscoveryManager.cs
Outdated
Show resolved
Hide resolved
Evangelink
commented
Feb 10, 2022
src/Microsoft.TestPlatform.CrossPlatEngine/Client/Parallel/ParallelDiscoveryEventsHandler.cs
Outdated
Show resolved
Hide resolved
Evangelink
commented
Feb 10, 2022
test/Microsoft.TestPlatform.AcceptanceTests/TranslationLayerTests/DiscoverTests.cs
Outdated
Show resolved
Hide resolved
Evangelink
commented
Feb 10, 2022
...stPlatform.CrossPlatEngine.UnitTests/Client/Parallel/ParallelDiscoveryDataAggregatorTests.cs
Outdated
Show resolved
Hide resolved
Evangelink
commented
Feb 10, 2022
test/Microsoft.TestPlatform.CrossPlatEngine.UnitTests/Execution/TestRunCacheTests.cs
Outdated
Show resolved
Hide resolved
Evangelink
commented
Feb 10, 2022
src/Microsoft.TestPlatform.Client/Discovery/DiscoveryRequest.cs
Outdated
Show resolved
Hide resolved
Evangelink
commented
Feb 10, 2022
src/Microsoft.TestPlatform.Client/RequestHelper/ITestRequestManager.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.TestPlatform.Common/Interfaces/Engine/TesthostProtocol/IDiscoveryManager.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.TestPlatform.CommunicationUtilities/Interfaces/ITestRequestSender.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.TestPlatform.CommunicationUtilities/Messages/DiscoveryCompletePayload.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.TestPlatform.CommunicationUtilities/Messages/DiscoveryCompletePayload.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.TestPlatform.CrossPlatEngine/Client/Parallel/ParallelDiscoveryDataAggregator.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.TestPlatform.CrossPlatEngine/Client/Parallel/ParallelDiscoveryDataAggregator.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.TestPlatform.CrossPlatEngine/Client/Parallel/ParallelDiscoveryDataAggregator.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.TestPlatform.CrossPlatEngine/Client/Parallel/ParallelDiscoveryEventsHandler.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.TestPlatform.ObjectModel/Client/Interfaces/IDiscoveryRequest.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Medeni Baykal <433724+Haplois@users.noreply.github.com>
nohwnd
reviewed
Feb 14, 2022
src/Microsoft.TestPlatform.Client/DesignMode/DesignModeClient.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.TestPlatform.Client/Discovery/DiscoveryRequest.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.TestPlatform.Client/RequestHelper/ITestRequestManager.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.TestPlatform.Common/Interfaces/Engine/ClientProtocol/DiscoveryStatus.cs
Show resolved
Hide resolved
src/Microsoft.TestPlatform.Common/Interfaces/Engine/ClientProtocol/IProxyDiscoveryManager.cs
Show resolved
Hide resolved
{ | ||
if (sources == null || sources.Count() == 0) return; | ||
|
||
lock (_enumeratorLockObject) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does the second remark mean?
src/Microsoft.TestPlatform.CrossPlatEngine/Discovery/DiscoveryManager.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.TestPlatform.CrossPlatEngine/Discovery/DiscoveryManager.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.TestPlatform.CrossPlatEngine/Discovery/DiscoveryManager.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.TestPlatform.ObjectModel/Client/Events/DiscoveryCompleteEventArgs.cs
Outdated
Show resolved
Hide resolved
Merged
# Conflicts: # src/Microsoft.TestPlatform.CrossPlatEngine/Client/Parallel/ParallelDiscoveryDataAggregator.cs
Evangelink
commented
Feb 15, 2022
src/Microsoft.TestPlatform.Client/Discovery/DiscoveryRequest.cs
Outdated
Show resolved
Hide resolved
Evangelink
commented
Feb 15, 2022
src/Microsoft.TestPlatform.CrossPlatEngine/Discovery/DiscoveryManager.cs
Outdated
Show resolved
Hide resolved
Evangelink
commented
Feb 16, 2022
src/Microsoft.TestPlatform.Client/Discovery/DiscoveryRequest.cs
Outdated
Show resolved
Hide resolved
Evangelink
commented
Feb 16, 2022
src/Microsoft.TestPlatform.CommunicationUtilities/Messages/DiscoveryCompletePayload.cs
Show resolved
Hide resolved
Haplois
approved these changes
Feb 16, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I have some comments though.
src/Microsoft.TestPlatform.Common/Interfaces/Engine/ClientProtocol/DiscoveryStatus.cs
Show resolved
Hide resolved
test/Microsoft.TestPlatform.Client.UnitTests/Discovery/DiscoveryRequestTests.cs
Outdated
Show resolved
Hide resolved
Evangelink
commented
Feb 17, 2022
test/Microsoft.TestPlatform.Client.UnitTests/Discovery/DiscoveryRequestTests.cs
Show resolved
Hide resolved
nohwnd
approved these changes
Feb 18, 2022
This was referenced Mar 3, 2022
Closed
Merged
This was referenced Aug 1, 2022
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.
Description
Replaces #3226 and #3186.
Tagging @Sanan07
Related issue
Fixes : #2902, #2903, #2904, #2686