Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ protected override void ConfigureAdditionalEnvironmentVariables(ProcessStartInfo
setEnvVar("REDIS_CONNECTION_STRING", $"localhost:{RedisPort}");
}

[Fact]
[Fact(Skip = SkipFlakyTimingTest)]
public async Task SingleAgentSampleValidationAsync()
{
using CancellationTokenSource testTimeoutCts = this.CreateTestTimeoutCts();
Expand Down Expand Up @@ -69,7 +69,7 @@ await this.RunSampleTestAsync(samplePath, async (process, logs) =>
});
}

[Fact]
[Fact(Skip = SkipFlakyTimingTest)]
public async Task SingleAgentOrchestrationChainingSampleValidationAsync()
{
using CancellationTokenSource testTimeoutCts = this.CreateTestTimeoutCts();
Expand Down Expand Up @@ -105,7 +105,7 @@ await this.RunSampleTestAsync(samplePath, async (process, logs) =>
});
}

[Fact]
[Fact(Skip = SkipFlakyTimingTest)]
public async Task MultiAgentConcurrencySampleValidationAsync()
{
using CancellationTokenSource testTimeoutCts = this.CreateTestTimeoutCts();
Expand Down Expand Up @@ -160,7 +160,7 @@ await this.RunSampleTestAsync(samplePath, async (process, logs) =>
});
}

[Fact]
[Fact(Skip = SkipFlakyTimingTest)]
public async Task MultiAgentConditionalSampleValidationAsync()
{
using CancellationTokenSource testTimeoutCts = this.CreateTestTimeoutCts();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ namespace Microsoft.Agents.AI.DurableTask.IntegrationTests;
[Trait("Category", "SampleValidation")]
public sealed class WorkflowConsoleAppSamplesValidation(ITestOutputHelper outputHelper) : SamplesValidationBase(outputHelper)
{
private const string SkipFlakyTimingTest = "Flaky: timing-dependent LLM test, see https://github.com/microsoft/agent-framework/issues/4971";

// In CI, `dotnet run` builds samples from scratch and LLM calls add latency, so 60s is not enough.
private static readonly TimeSpan s_testTimeout = TimeSpan.FromSeconds(180);

Expand Down Expand Up @@ -505,7 +507,7 @@ await this.RunSampleTestAsync(samplePath, (process, logs) =>
});
}

[Fact]
[Fact(Skip = SkipFlakyTimingTest)]
public async Task WorkflowAndAgentsSampleValidationAsync()
{
using CancellationTokenSource testTimeoutCts = this.CreateTestTimeoutCts(s_testTimeout);
Expand Down
Loading