From a796d9fa14be11f667871651180da333b0d60f39 Mon Sep 17 00:00:00 2001 From: SergeyMenshykh Date: Tue, 17 Feb 2026 15:33:41 +0000 Subject: [PATCH 1/2] 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> --- ...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..17ee742130 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, at build agent"; + + [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(); } From 2de282b89c6c061f7f8546d933864edd863029b8 Mon Sep 17 00:00:00 2001 From: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com> Date: Tue, 17 Feb 2026 16:30:44 +0000 Subject: [PATCH 2/2] Update dotnet/tests/AzureAIAgentsPersistent.IntegrationTests/AzureAIAgentsPersistentStructuredOutputRunTests.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .../AzureAIAgentsPersistentStructuredOutputRunTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet/tests/AzureAIAgentsPersistent.IntegrationTests/AzureAIAgentsPersistentStructuredOutputRunTests.cs b/dotnet/tests/AzureAIAgentsPersistent.IntegrationTests/AzureAIAgentsPersistentStructuredOutputRunTests.cs index 17ee742130..a56917c515 100644 --- a/dotnet/tests/AzureAIAgentsPersistent.IntegrationTests/AzureAIAgentsPersistentStructuredOutputRunTests.cs +++ b/dotnet/tests/AzureAIAgentsPersistent.IntegrationTests/AzureAIAgentsPersistentStructuredOutputRunTests.cs @@ -7,7 +7,7 @@ namespace AzureAIAgentsPersistent.IntegrationTests; public class AzureAIAgentsPersistentStructuredOutputRunTests() : StructuredOutputRunTests(() => new()) { - private const string SkipReason = "Fails intermittently, at build agent"; + private const string SkipReason = "Fails intermittently on the build agent/CI"; [Fact(Skip = SkipReason)] public override Task RunWithResponseFormatReturnsExpectedResultAsync() =>