@@ -27,7 +27,7 @@ public sealed class SamplesValidation(ITestOutputHelper outputHelper) : IAsyncLi
2727#else
2828 private const string BuildConfiguration = "Release" ;
2929#endif
30- private static readonly HttpClient s_sharedHttpClient = new ( ) ;
30+ private static readonly HttpClient s_sharedHttpClient = new ( ) { Timeout = TimeSpan . FromMinutes ( 3 ) } ;
3131 private static readonly IConfiguration s_configuration =
3232 new ConfigurationBuilder ( )
3333 . AddEnvironmentVariables ( )
@@ -60,7 +60,7 @@ async ValueTask IAsyncDisposable.DisposeAsync()
6060 await Task . CompletedTask ;
6161 }
6262
63- [ RetryFact ( 2 , 5000 , Skip = "Azure Functions Core Tools v4 cannot auto-detect worker runtime in CI. See https://github.com/microsoft/agent-framework/issues/6402" ) ]
63+ [ RetryFact ( 2 , 5000 ) ]
6464 public async Task SingleAgentSampleValidationAsync ( )
6565 {
6666 string samplePath = Path . Combine ( s_samplesPath , "01_SingleAgent" ) ;
@@ -148,7 +148,7 @@ await this.RunSampleTestAsync(samplePath, async (logs) =>
148148 } ) ;
149149 }
150150
151- [ RetryFact ( 2 , 5000 , Skip = "Azure Functions Core Tools v4 cannot auto-detect worker runtime in CI. See https://github.com/microsoft/agent-framework/issues/6402" ) ]
151+ [ RetryFact ( 2 , 5000 ) ]
152152 public async Task MultiAgentOrchestrationConcurrentSampleValidationAsync ( )
153153 {
154154 string samplePath = Path . Combine ( s_samplesPath , "03_AgentOrchestration_Concurrency" ) ;
@@ -198,7 +198,7 @@ await this.RunSampleTestAsync(samplePath, async (logs) =>
198198 } ) ;
199199 }
200200
201- [ RetryFact ( 2 , 5000 , Skip = "Azure Functions Core Tools v4 cannot auto-detect worker runtime in CI. See https://github.com/microsoft/agent-framework/issues/6402" ) ]
201+ [ RetryFact ( 2 , 5000 ) ]
202202 public async Task MultiAgentOrchestrationConditionalsSampleValidationAsync ( )
203203 {
204204 string samplePath = Path . Combine ( s_samplesPath , "04_AgentOrchestration_Conditionals" ) ;
@@ -216,7 +216,7 @@ await this.TestSpamDetectionAsync("email-002",
216216 } ) ;
217217 }
218218
219- [ RetryFact ( 2 , 5000 , Skip = "Azure Functions Core Tools v4 cannot auto-detect worker runtime in CI. See https://github.com/microsoft/agent-framework/issues/6402" ) ]
219+ [ RetryFact ( 2 , 5000 ) ]
220220 public async Task SingleAgentOrchestrationHITLSampleValidationAsync ( )
221221 {
222222 string samplePath = Path . Combine ( s_samplesPath , "05_AgentOrchestration_HITL" ) ;
@@ -272,7 +272,7 @@ await this.RunSampleTestAsync(samplePath, async (logs) =>
272272 } ) ;
273273 }
274274
275- [ RetryFact ( 2 , 5000 , Skip = "Azure Functions Core Tools v4 cannot auto-detect worker runtime in CI. See https://github.com/microsoft/agent-framework/issues/6402" ) ]
275+ [ RetryFact ( 2 , 5000 ) ]
276276 public async Task LongRunningToolsSampleValidationAsync ( )
277277 {
278278 string samplePath = Path . Combine ( s_samplesPath , "06_LongRunningTools" ) ;
@@ -362,7 +362,7 @@ await this.WaitForConditionAsync(
362362 } ) ;
363363 }
364364
365- [ RetryFact ( 2 , 5000 , Skip = "Azure Functions Core Tools v4 cannot auto-detect worker runtime in CI. See https://github.com/microsoft/agent-framework/issues/6402" ) ]
365+ [ RetryFact ( 2 , 5000 ) ]
366366 public async Task AgentAsMcpToolAsync ( )
367367 {
368368 string samplePath = Path . Combine ( s_samplesPath , "07_AgentAsMcpTool" ) ;
@@ -402,7 +402,7 @@ await this.WaitForConditionAsync(
402402 } ) ;
403403 }
404404
405- [ RetryFact ( 2 , 5000 , Skip = "Azure Functions Core Tools v4 cannot auto-detect worker runtime in CI. See https://github.com/microsoft/agent-framework/issues/6402" ) ]
405+ [ RetryFact ( 2 , 5000 ) ]
406406 public async Task ReliableStreamingSampleValidationAsync ( )
407407 {
408408 string samplePath = Path . Combine ( s_samplesPath , "08_ReliableStreaming" ) ;
@@ -844,6 +844,7 @@ private Process StartFunctionApp(string samplePath, List<OutputLog> logs)
844844 throw new InvalidOperationException ( "The required AZURE_OPENAI_DEPLOYMENT_NAME env variable is not set." ) ;
845845
846846 // Set required environment variables for the function app (see local.settings.json for required settings)
847+ startInfo . EnvironmentVariables [ "FUNCTIONS_WORKER_RUNTIME" ] = "dotnet-isolated" ;
847848 startInfo . EnvironmentVariables [ "AZURE_OPENAI_ENDPOINT" ] = openAiEndpoint ;
848849 startInfo . EnvironmentVariables [ "AZURE_OPENAI_DEPLOYMENT_NAME" ] = openAiDeployment ;
849850 startInfo . EnvironmentVariables [ "DURABLE_TASK_SCHEDULER_CONNECTION_STRING" ] =
0 commit comments