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

Remove flaky tests and increase CLI timeout #18500

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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