diff --git a/test/SmokeTests/OOProcSmokeTests/DotNetIsolated/FaultyOrchestrators.cs b/test/SmokeTests/OOProcSmokeTests/DotNetIsolated/FaultyOrchestrators.cs index dd7327f94..66b2bdf31 100644 --- a/test/SmokeTests/OOProcSmokeTests/DotNetIsolated/FaultyOrchestrators.cs +++ b/test/SmokeTests/OOProcSmokeTests/DotNetIsolated/FaultyOrchestrators.cs @@ -110,7 +110,7 @@ public static async Task HttpStartOOMOrchestrator( // Function input comes from the request content. string instanceId = await client.ScheduleNewOrchestrationInstanceAsync( - nameof(OOMOrchestrator)); + nameof(OOMOrchestrator), instanceId: "OOMOrchestrator"); logger.LogInformation("Started orchestration with ID = '{instanceId}'.", instanceId); @@ -129,7 +129,7 @@ public static async Task HttpStartProcessExitOrchestrator( // Function input comes from the request content. string instanceId = await client.ScheduleNewOrchestrationInstanceAsync( - nameof(ProcessExitOrchestrator)); + nameof(ProcessExitOrchestrator), instanceId: "ProcessExitOrchestrator"); logger.LogInformation("Started orchestration with ID = '{instanceId}'.", instanceId); @@ -148,7 +148,7 @@ public static async Task HttpStartTimeoutOrchestrator( // Function input comes from the request content. string instanceId = await client.ScheduleNewOrchestrationInstanceAsync( - nameof(TimeoutOrchestrator)); + nameof(TimeoutOrchestrator), instanceId: "TimeoutOrchestrator"); logger.LogInformation("Started orchestration with ID = '{instanceId}'.", instanceId); diff --git a/test/SmokeTests/OOProcSmokeTests/DotNetIsolated/run-smoke-tests.ps1 b/test/SmokeTests/OOProcSmokeTests/DotNetIsolated/run-smoke-tests.ps1 index ffb3b6339..ffba1db24 100644 --- a/test/SmokeTests/OOProcSmokeTests/DotNetIsolated/run-smoke-tests.ps1 +++ b/test/SmokeTests/OOProcSmokeTests/DotNetIsolated/run-smoke-tests.ps1 @@ -6,7 +6,9 @@ param( [string]$HttpStartPath ) -Start-Sleep -Seconds 60 +# This delay a bit excessive, but we want to make sure the Functions runtime is up and running before we start the orchestration +# This number was determined, through trial and error, to be a safe amount of time to wait +Start-Sleep -Seconds 40 try { # Make sure the Functions runtime is up and running @@ -39,6 +41,7 @@ try { break } + cd ./test/SmokeTests/OOProcSmokeTests/DotNetIsolated && func host start --port 7071 & Start-Sleep -Seconds 30 $retryCount = $retryCount + 1 }