aws / aws-lambda-dotnet

Libraries, samples and tools to help .NET Core developers develop AWS Lambda functions.
Apache License 2.0
1.58k stars 477 forks source link

chore: improve RuntimeSupport integration test performance #1861

Closed philasmar closed 2 weeks ago

philasmar commented 3 weeks ago

Description of changes: This PR improves the runtime of the integration tests when ran through the CI/CD pipeline. It brings down the runtime from over 2 hours to less than an hour. I have consistently seen 2 different runtimes of the tests after the update. Sometimes the tests run in ~21 minutes and other times in ~51 minutes. In any case, they are now way faster than they were before. I have also updated them to run in isolation of one another which prevents parallel runs to conflict with each other. This means we are now able to run X86 and ARM tests in parallel with no issues. image

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.