Skip to content

Commit

Permalink
Remove flaky tests and increase CLI timeout (Azure#18500)
Browse files Browse the repository at this point in the history
* Remove flaky tests and increase CLI timeout
  • Loading branch information
christothes authored and jongio committed Feb 9, 2021
1 parent ec3a976 commit 4999737
Show file tree
Hide file tree
Showing 19 changed files with 79 additions and 3,464 deletions.
4 changes: 1 addition & 3 deletions sdk/identity/Azure.Identity/src/AzureCliCredential.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
// Licensed under the MIT License.

using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Text.Json;
Expand All @@ -27,7 +25,7 @@ public class AzureCliCredential : TokenCredential
private const string WinAzureCLIError = "'az' is not recognized";
private const string AzureCliTimeoutError = "Azure CLI authentication timed out.";
private const string AzureCliFailedError = "Azure CLI authentication failed due to an unknown error.";
private const int CliProcessTimeoutMs = 10000;
private const int CliProcessTimeoutMs = 13000;

// The default install paths are used to find Azure CLI if no path is specified. This is to prevent executing out of the current working directory.
private static readonly string DefaultPathWindows = $"{EnvironmentVariables.ProgramFilesX86}\\Microsoft SDKs\\Azure\\CLI2\\wbin;{EnvironmentVariables.ProgramFiles}\\Microsoft SDKs\\Azure\\CLI2\\wbin";
Expand Down
260 changes: 0 additions & 260 deletions sdk/identity/Azure.Identity/tests/ChainedTokenCredentialLiveTests.cs

This file was deleted.

Loading

0 comments on commit 4999737

Please sign in to comment.