Skip to content

Update ApiGatewayEmulatorProcessTests #1955

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Jan 30, 2025

Issue #, if available:

Description of changes:

  • Was seeing issues with processing async process output. "There is no currently active test" when doing testoutputhelper.writeline. The error occurs because the test context is not available when the TestOutputHelper is trying to write output from a different thread (like from process output callbacks). This commonly happens with async process output handling. I have updated it to handle this issue.
  • Also updated logic to dynamically get ports. it seemed like this might also have been causing issues

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

@ghost ghost changed the title update ApiGatewayEmulatorProcessTests Update ApiGatewayEmulatorProcessTests Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant