From da4dff94a919f70f1cbd76a614d7d8e268b0854c Mon Sep 17 00:00:00 2001 From: Heath Stewart Date: Tue, 25 Oct 2022 16:39:23 -0700 Subject: [PATCH] Inrease number of retries for CLU tests (#32015) Getting throttled on project deletions. --- .../Infrastructure/ConversationAnalysisClientSamples.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sdk/cognitivelanguage/Azure.AI.Language.Conversations/tests/Infrastructure/ConversationAnalysisClientSamples.cs b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/tests/Infrastructure/ConversationAnalysisClientSamples.cs index b4b51ab4b0ffb..eba3e7ca6e610 100644 --- a/sdk/cognitivelanguage/Azure.AI.Language.Conversations/tests/Infrastructure/ConversationAnalysisClientSamples.cs +++ b/sdk/cognitivelanguage/Azure.AI.Language.Conversations/tests/Infrastructure/ConversationAnalysisClientSamples.cs @@ -3,7 +3,6 @@ using System.Threading.Tasks; using Azure.AI.Language.Conversations.Authoring; -using Azure.Core.TestFramework; namespace Azure.AI.Language.Conversations.Tests.Samples { @@ -24,7 +23,13 @@ public override async Task StartTestRecordingAsync() TestEnvironment.Endpoint, new AzureKeyCredential(TestEnvironment.ApiKey), InstrumentClientOptions( - new ConversationsClientOptions(ServiceVersion))); + new ConversationsClientOptions(ServiceVersion) + { + Retry = + { + MaxRetries = 10, + }, + })); } } }