-
Notifications
You must be signed in to change notification settings - Fork 341
Enable parallel discovery #3349
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
Merged
Merged
Changes from 39 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
01df3aa
initial implem
Sanan07 3e0a4b1
temp
Sanan07 d114afb
initila
Sanan07 9bc76c7
Stopping discovery after abort
Sanan07 5f6ba48
removing old logic test
Sanan07 a239149
Fixing test
Sanan07 fcdd4b6
fixing last chunk logic
Sanan07 524448b
temp commit
Sanan07 e8aa241
Merge branch 'main' of https://github.com/microsoft/vstest into dev/s…
Sanan07 059181e
Fixing last chunk is empty case. Some refactoring
Sanan07 0fb8aff
writing first part of tests
Sanan07 a220af5
more tests
Sanan07 bb13111
Merge branch 'main' of https://github.com/microsoft/vstest into dev/s…
Sanan07 adfdabb
fixing public api
Sanan07 c094306
more public api
Sanan07 31ebaa0
changing public api files
Sanan07 35e7060
Merge branch 'dev/sayuzbas/par-discovery' into dev/sayuzbas/parallel-…
Sanan07 0a2bce3
Merge branch 'main' into pr/3226
Evangelink 50c713e
Update src/Microsoft.TestPlatform.Common/Interfaces/Engine/ClientProt…
Evangelink 29377a3
Apply suggestions from code review
Evangelink f1c872b
Fix incorrect merges + address analyzer warnings
Evangelink 8dbbd31
Simpliy EqtTrace calls
Evangelink 2ff5ce4
Merge branch 'main' into pr/3226
Evangelink e7af727
Merge branch 'main' into pr/3226
Evangelink 36db669
Remove API duplication
Evangelink 03eab00
Apply some code review comments
Evangelink fffcca5
Merge branch 'main' into pr/3226
Haplois 46d5eef
Address some code review comments
Evangelink 56ab677
Update src/Microsoft.TestPlatform.Client/Discovery/DiscoveryRequest.cs
Evangelink 5271c97
Address part of the review comments
Evangelink 226544d
Simpler API
Evangelink a9115b5
Merge branch 'main' into pr/3226
Evangelink 485cf0b
Rework method
Evangelink 547c9f2
More refactorings
Evangelink 373510a
Fix test
Evangelink 473360d
Remove duplications and race issues
Evangelink 59d2563
Merge branch 'main' into pr/3226
Evangelink d29f007
Make public as class is internal
Evangelink 47ff337
Fix naming
Evangelink 1f496bd
Improves tests and remove un-needed field
Evangelink File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
25 changes: 25 additions & 0 deletions
25
src/Microsoft.TestPlatform.Common/Interfaces/Engine/ClientProtocol/DiscoveryStatus.cs
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
|
|
||
| namespace Microsoft.VisualStudio.TestPlatform.ObjectModel.Engine; | ||
|
|
||
| /// <summary> | ||
| /// Enums for indicating discovery status of source | ||
| /// </summary> | ||
| public enum DiscoveryStatus | ||
| { | ||
| /// <summary> | ||
| /// Indicates the sources which were not touched during discovery. | ||
| /// </summary> | ||
| NotDiscovered, | ||
|
|
||
| /// <summary> | ||
| /// Indicates that we started discovery of the source but something happened (cancel/abort) and we stopped processing it. | ||
| /// </summary> | ||
| PartiallyDiscovered, | ||
|
|
||
| /// <summary> | ||
| /// Indicates that source was fully discovered. | ||
| /// </summary> | ||
| FullyDiscovered, | ||
| } | ||
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
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
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.Interfaces.ITestRequestSender.SendDiscoveryAbort() -> void | ||
Evangelink marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.ObjectModel.DiscoveryCompletePayload.FullyDiscoveredSources.get -> System.Collections.Generic.IList<string> | ||
| Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.ObjectModel.DiscoveryCompletePayload.FullyDiscoveredSources.set -> void | ||
| Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.ObjectModel.DiscoveryCompletePayload.NotDiscoveredSources.get -> System.Collections.Generic.IList<string> | ||
| Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.ObjectModel.DiscoveryCompletePayload.NotDiscoveredSources.set -> void | ||
| Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.ObjectModel.DiscoveryCompletePayload.PartiallyDiscoveredSources.get -> System.Collections.Generic.IList<string> | ||
| Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.ObjectModel.DiscoveryCompletePayload.PartiallyDiscoveredSources.set -> void | ||
| Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.TestRequestSender.SendDiscoveryAbort() -> void | ||
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.