Skip to content

Conversation

@Evangelink
Copy link
Member

@Evangelink Evangelink commented Feb 10, 2022

Description

Replaces #3226 and #3186.

Tagging @Sanan07

Related issue

Fixes : #2902, #2903, #2904, #2686

Sanan07 and others added 18 commits November 22, 2021 21:00
# 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
{
if (sources == null || sources.Count() == 0) return;

lock (_enumeratorLockObject)
Copy link
Member

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?

@Evangelink Evangelink mentioned this pull request Feb 15, 2022
# Conflicts:
#	src/Microsoft.TestPlatform.CrossPlatEngine/Client/Parallel/ParallelDiscoveryDataAggregator.cs
Copy link
Contributor

@Haplois Haplois left a 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.

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.

Fix discovery abort scenario

5 participants