Skip to content

Conversation

@mayankbansal018
Copy link
Contributor

Since RuntimeProvider manages individual testruntime & also has state w.r.t a runtime's errorstream, & raises events w.r.t that runtime. It is better to associate a new runtimeprovider with each ProxyOperationManager(in parallel scenario)

@mayankbansal018 mayankbansal018 self-assigned this Mar 23, 2017
@msftclas
Copy link

@mayankbansal018,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

finally
{
this.initialized = false;
this.testHostManager.HostExited -= this.TestHostManagerHostExited;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add it back.

}

public HostProviderEventArgs(string message, int errorCode)
public HostProviderEventArgs(string message, int errorCode, int processId)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit:
Why don't we have separate cs file for these ?
Please add xml comments for anything that is public.

var isDataCollectorEnabled = XmlRunSettingsUtilities.IsDataCollectionEnabled(testRunCriteria.TestRunSettings);

// SetupChannel ProxyExecutionManager with data collection if data collectors are specififed in run settings.
Func<IProxyExecutionManager> proxyExecutionManagerCreator =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we need tests for these changes ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, we do, I was thinking to put them in next PR, as to unblock the CI flow?

@mayankbansal018 mayankbansal018 merged commit 15027fc into microsoft:master Mar 23, 2017
@mayankbansal018 mayankbansal018 deleted the runtimeprovider-parallel branch March 23, 2017 13:46
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.

4 participants