Skip to content

Commit

Permalink
throw OOM
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmrdavid committed Oct 1, 2024
1 parent f9666d9 commit 055c2e1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public static async Task<HttpResponseData> HttpStartOOMOrchestrator(

// Function input comes from the request content.
string instanceId = await client.ScheduleNewOrchestrationInstanceAsync(
nameof(OOMOrchestrator));
nameof(OOMOrchestrator), instanceId: "OOMOrchestrator");

Check failure on line 113 in test/SmokeTests/OOProcSmokeTests/DotNetIsolated/FaultyOrchestrators.cs

View workflow job for this annotation

GitHub Actions / build

The best overload for 'ScheduleNewOrchestrationInstanceAsync' does not have a parameter named 'instanceId'

Check failure on line 113 in test/SmokeTests/OOProcSmokeTests/DotNetIsolated/FaultyOrchestrators.cs

View workflow job for this annotation

GitHub Actions / build

The best overload for 'ScheduleNewOrchestrationInstanceAsync' does not have a parameter named 'instanceId'

logger.LogInformation("Started orchestration with ID = '{instanceId}'.", instanceId);

Expand All @@ -129,7 +129,7 @@ public static async Task<HttpResponseData> HttpStartProcessExitOrchestrator(

// Function input comes from the request content.
string instanceId = await client.ScheduleNewOrchestrationInstanceAsync(
nameof(ProcessExitOrchestrator));
nameof(ProcessExitOrchestrator), instanceId: "ProcessExitOrchestrator");

Check failure on line 132 in test/SmokeTests/OOProcSmokeTests/DotNetIsolated/FaultyOrchestrators.cs

View workflow job for this annotation

GitHub Actions / build

The best overload for 'ScheduleNewOrchestrationInstanceAsync' does not have a parameter named 'instanceId'

Check failure on line 132 in test/SmokeTests/OOProcSmokeTests/DotNetIsolated/FaultyOrchestrators.cs

View workflow job for this annotation

GitHub Actions / build

The best overload for 'ScheduleNewOrchestrationInstanceAsync' does not have a parameter named 'instanceId'

logger.LogInformation("Started orchestration with ID = '{instanceId}'.", instanceId);

Expand All @@ -148,7 +148,7 @@ public static async Task<HttpResponseData> HttpStartTimeoutOrchestrator(

// Function input comes from the request content.
string instanceId = await client.ScheduleNewOrchestrationInstanceAsync(
nameof(TimeoutOrchestrator));
nameof(TimeoutOrchestrator), instanceId: "TimeoutOrchestrator");

Check failure on line 151 in test/SmokeTests/OOProcSmokeTests/DotNetIsolated/FaultyOrchestrators.cs

View workflow job for this annotation

GitHub Actions / build

The best overload for 'ScheduleNewOrchestrationInstanceAsync' does not have a parameter named 'instanceId'

Check failure on line 151 in test/SmokeTests/OOProcSmokeTests/DotNetIsolated/FaultyOrchestrators.cs

View workflow job for this annotation

GitHub Actions / build

The best overload for 'ScheduleNewOrchestrationInstanceAsync' does not have a parameter named 'instanceId'

logger.LogInformation("Started orchestration with ID = '{instanceId}'.", instanceId);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -39,6 +41,7 @@ try {
break
}

cd ./test/SmokeTests/OOProcSmokeTests/DotNetIsolated && func host start --port 7071 &
Start-Sleep -Seconds 30
$retryCount = $retryCount + 1
}
Expand Down

0 comments on commit 055c2e1

Please sign in to comment.