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

for #2120 DisableProgress when environment CI true #2125

Closed
wants to merge 3 commits into from

Conversation

davidruhmann
Copy link

@davidruhmann davidruhmann commented Aug 9, 2019

Description

Disable the progress when CI environment variable is true to mitigate performance issue when running tests on detached hosts and verbosity normal or greater.

Related issue

Fixes #2120 , #2106

@msftclas
Copy link

msftclas commented Aug 9, 2019

CLA assistant check
All CLA requirements met.

@@ -219,10 +221,19 @@ public void Initialize(TestLoggerEvents events, Dictionary<string, string> param
bool.TryParse(prefix, out AppendPrefix);
}

var ciEnvironment = Environment.GetEnvironmentVariable(ConsoleLogger.ContinuousIntegrationIndicator);
if (bool.TryParse(ciEnvironment, out var ci) && ci)
Copy link
Author

Choose a reason for hiding this comment

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

currently only checking if true or false case insensitive. should additional values be accepted? 1/0?

@ShreyasRmsft
Copy link
Member

We are trying to get to the bottom of this issue. To see why the progress indicator is slowing execution down. @singhsarab to provide updates here.

@singhsarab
Copy link
Contributor

This is not longer required, changed the default behavior not to show the progress indicator. #2234

@singhsarab singhsarab closed this Oct 29, 2019
@davidruhmann davidruhmann deleted the bugfix/2120 branch August 11, 2021 20:51
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.

Since SDK 2.2.300 test performance is magnitudes slower
4 participants