Skip to content
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

Crashes when reading the body in Release configurations #96

Closed
ArnaudWurmel opened this issue Apr 22, 2021 · 1 comment · Fixed by #97
Closed

Crashes when reading the body in Release configurations #96

ArnaudWurmel opened this issue Apr 22, 2021 · 1 comment · Fixed by #97

Comments

@ArnaudWurmel
Copy link
Contributor

Description of the issue

We are using Embassy to mock our internals API for testing purposes and since we are upgrading our environment (Xcode 11.3.1 to Xcode 12.4) we are experiencing some bugs in our tests in release configuration.

After digging into the issue, we cloned the repository and try to run the unit tests in release and it seems that the library's tests are having the same issue as we do, the tests on the body features are crashing in release (HTTPServerTests.testPostBody(), HTTPServerTests.testPostWithInitialBody() for instance).

SelectorEventLoop+177
Capture d’écran 2021-04-22 à 14 17 49

Has anyone experiencing this during the transition to Xcode 12?

Environment

macOS Big Sur 11.2.3 (intel)
Xcode 12.4 (12D4e)
Embassy 4.1.3

Reproduction

Run these unit tests in release configuration:

  • HTTPServerTests.testPostBody()
  • HTTPServerTests.testPostWithInitialBody()

Both tests shall fail.

@ArnaudWurmel
Copy link
Contributor Author

ArnaudWurmel commented May 3, 2021

@Goos Sorry for the mention but I couldn't find any maintainer for this project.

Could you please have a look into this issue ? I proposed a quick-fix in the PR #97, I would happily update it with your recommendations if needed.
Thank you

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 a pull request may close this issue.

1 participant