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 92c7433 commit 88d1bd8
Showing 1 changed file with 15 additions and 37 deletions.
52 changes: 15 additions & 37 deletions .github/workflows/smoketest-dotnet-isolated-v4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,32 +67,25 @@ jobs:

- name: Install core tools
run: npm i -g azure-functions-core-tools@4 --unsafe-perm true

# Run smoke tests
- name: check that DF extension was installed
run: ls ./test/SmokeTests/OOProcSmokeTests/DotNetIsolated/bin/Release/net6.0/

- name: check that DF extension was installed
run: ls ./test/SmokeTests/OOProcSmokeTests/DotNetIsolated

# Run smoke tests
- name: Run smoke tests (Hello Cities)
shell: pwsh
run: azurite --silent --blobPort 10000 --queuePort 10001 --tablePort 10002 &
cd ./test/SmokeTests/OOProcSmokeTests/DotNetIsolated && func host start --port 7071 &
./test/SmokeTests/OOProcSmokeTests/DotNetIsolated/run-smoke-tests.ps1 -HttpStartPath api/StartHelloCitiesTyped
# - name: Run smoke tests (Hello Cities)
# shell: pwsh
# run: azurite --silent --blobPort 10000 --queuePort 10001 --tablePort 10002 &
# cd ./test/SmokeTests/OOProcSmokeTests/DotNetIsolated && func host start --port 7071 &
# ./test/SmokeTests/OOProcSmokeTests/DotNetIsolated/run-smoke-tests.ps1 -HttpStartPath api/StartHelloCitiesTyped

- name: Run smoke tests (Timeout)
shell: pwsh
run: azurite --silent --blobPort 10000 --queuePort 10001 --tablePort 10002 &
cd ./test/SmokeTests/OOProcSmokeTests/DotNetIsolated && func host start --port 7071 &
./test/SmokeTests/OOProcSmokeTests/DotNetIsolated/run-smoke-tests.ps1 -HttpStartPath api/durable_HttpStartTimeoutOrchestrator
# - name: Run smoke tests (Timeout)
# shell: pwsh
# run: azurite --silent --blobPort 10000 --queuePort 10001 --tablePort 10002 &
# cd ./test/SmokeTests/OOProcSmokeTests/DotNetIsolated && func host start --port 7071 &
# ./test/SmokeTests/OOProcSmokeTests/DotNetIsolated/run-smoke-tests.ps1 -HttpStartPath api/durable_HttpStartTimeoutOrchestrator

- name: Run smoke tests (OOM)
shell: pwsh
run: azurite --silent --blobPort 10000 --queuePort 10001 --tablePort 10002 &
cd ./test/SmokeTests/OOProcSmokeTests/DotNetIsolated && func host start --port 7071 &
./test/SmokeTests/OOProcSmokeTests/DotNetIsolated/run-smoke-tests.ps1 -HttpStartPath api/durable_HttpStartOOMOrchestrator
# - name: Run smoke tests (OOM)
# shell: pwsh
# run: azurite --silent --blobPort 10000 --queuePort 10001 --tablePort 10002 &
# cd ./test/SmokeTests/OOProcSmokeTests/DotNetIsolated && func host start --port 7071 &
# ./test/SmokeTests/OOProcSmokeTests/DotNetIsolated/run-smoke-tests.ps1 -HttpStartPath api/durable_HttpStartOOMOrchestrator

- name: Run smoke tests (Process Exit)
shell: pwsh
Expand All @@ -104,19 +97,4 @@ jobs:
# # Validation is blocked on https://github.com/Azure/azure-functions-host/issues/7995
# - name: Run V4 .NET Isolated Smoke Test
# run: test/SmokeTests/e2e-test.ps1 -DockerfilePath test/SmokeTests/OOProcSmokeTests/DotNetIsolated/Dockerfile -HttpStartPath api/StartHelloCitiesTyped
# shell: pwsh

# # Test that OOM errors are recoverable
# - name: Run V4 .NET OOM Test
# run: azurite --silent --blobPort 10000 --queuePort 10001 --tablePort 10002 --skipApiVersionCheck & test/SmokeTests/e2e-test.ps1 -DockerfilePath test/SmokeTests/OOProcSmokeTests/DotNetIsolated/Dockerfile -HttpStartPath api/durable_HttpStartOOMOrchestrator
# shell: pwsh

# # Test that FailFast errors are recoverable
# - name: Run V4 .NET FailFast Test
# run: azurite --silent --blobPort 10000 --queuePort 10001 --tablePort 10002 --skipApiVersionCheck & test/SmokeTests/e2e-test.ps1 -DockerfilePath test/SmokeTests/OOProcSmokeTests/DotNetIsolated/Dockerfile -HttpStartPath api/durable_HttpStartProcessExitOrchestrator
# shell: pwsh

# # Test that timeout errors are recoverable
# - name: Run V4 .NET FailFast Test
# run: azurite --silent --blobPort 10000 --queuePort 10001 --tablePort 10002 --skipApiVersionCheck & test/SmokeTests/e2e-test.ps1 -DockerfilePath test/SmokeTests/OOProcSmokeTests/DotNetIsolated/Dockerfile -HttpStartPath api/durable_HttpStartTimeoutOrchestrator
# shell: pwsh

0 comments on commit 88d1bd8

Please sign in to comment.