Skip to content
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

BatchSize Runsettings #550

Merged
merged 4 commits into from
Mar 1, 2017
Merged

BatchSize Runsettings #550

merged 4 commits into from
Mar 1, 2017

Conversation

singhsarab
Copy link
Contributor

Changes for making BatchSize configurable via runsettings

@msftclas
Copy link

@singhsarab,
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

@@ -71,6 +71,11 @@ public static class Constants
public const int DefaultCpuCount = 1;

/// <summary>
/// The default batch size.
/// </summary>
public const long DefaultBatchSize = 10;
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this public?

@@ -5,9 +5,6 @@
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Utilities;
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: should move inside namespace?

[TestMethod]
public void TestRequestManagerShouldInitializeConsoleLogger()
{
var mockLoggerEvents = new DummyLoggerEvents(TestSessionMessageLogger.Instance);
Copy link
Contributor

Choose a reason for hiding this comment

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

Please make these instance variables.

(These are copied from earlier code, good to clean up)

Copy link
Contributor

@codito codito left a comment

Choose a reason for hiding this comment

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

LGTM with few suggestions.

@codito
Copy link
Contributor

codito commented Mar 1, 2017

Did we validate that Discovered tests actually show up in batches in the IDE? May be with a 10k tests projects.

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.

3 participants