Skip to content

Commit

Permalink
Inrease number of retries for CLU tests (#32015)
Browse files Browse the repository at this point in the history
Getting throttled on project deletions.
  • Loading branch information
heaths authored Oct 25, 2022
1 parent cc6ca5b commit da4dff9
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -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,
},
}));
}
}
}

0 comments on commit da4dff9

Please sign in to comment.