From 9511c414f4e8e5f0b564519d613bc87db57e2fe0 Mon Sep 17 00:00:00 2001 From: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com> Date: Wed, 18 Feb 2026 12:41:40 +0000 Subject: [PATCH] .NET: Disable intermittently failing AzureAIAgentsPersistent integration tests (#3997) * Disable intermittently failing AzureAIAgentsPersistent integration tests Skip three StructuredOutputRunTests tests that fail intermittently: - RunWithGenericTypeReturnsExpectedResultAsync - RunWithPrimitiveTypeReturnsExpectedResultAsync - RunWithResponseFormatReturnsExpectedResultAsync Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Update dotnet/tests/AzureAIAgentsPersistent.IntegrationTests/AzureAIAgentsPersistentStructuredOutputRunTests.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- ...reAIAgentsPersistentStructuredOutputRunTests.cs | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/dotnet/tests/AzureAIAgentsPersistent.IntegrationTests/AzureAIAgentsPersistentStructuredOutputRunTests.cs b/dotnet/tests/AzureAIAgentsPersistent.IntegrationTests/AzureAIAgentsPersistentStructuredOutputRunTests.cs index 3e28e025d6..a56917c515 100644 --- a/dotnet/tests/AzureAIAgentsPersistent.IntegrationTests/AzureAIAgentsPersistentStructuredOutputRunTests.cs +++ b/dotnet/tests/AzureAIAgentsPersistent.IntegrationTests/AzureAIAgentsPersistentStructuredOutputRunTests.cs @@ -7,7 +7,17 @@ namespace AzureAIAgentsPersistent.IntegrationTests; public class AzureAIAgentsPersistentStructuredOutputRunTests() : StructuredOutputRunTests(() => new()) { - [Fact(Skip = "Fails intermittently, at build agent")] + private const string SkipReason = "Fails intermittently on the build agent/CI"; + + [Fact(Skip = SkipReason)] public override Task RunWithResponseFormatReturnsExpectedResultAsync() => - base.RunWithResponseFormatReturnsExpectedResultAsync(); + base.RunWithResponseFormatReturnsExpectedResultAsync(); + + [Fact(Skip = SkipReason)] + public override Task RunWithGenericTypeReturnsExpectedResultAsync() => + base.RunWithGenericTypeReturnsExpectedResultAsync(); + + [Fact(Skip = SkipReason)] + public override Task RunWithPrimitiveTypeReturnsExpectedResultAsync() => + base.RunWithPrimitiveTypeReturnsExpectedResultAsync(); }