sentry-wizard icon indicating copy to clipboard operation
sentry-wizard copied to clipboard

Race condition in tests "Cannot log after tests are done."

Open krystofwoldrich opened this issue 3 years ago • 1 comments

Environment

When I add a console.log in ReactNative integration, the tests will fail because the console.log would be called after the tests are supposedly done. It's not related to ReactNative test added in https://github.com/getsentry/sentry-wizard/pull/185 the issue was there before only not discovered.

Steps to Reproduce

  1. Add console.log in ReactNative integration.
  2. Run yarn test

Expected Result

The test should finish successfully with the console.log in-between the test output.

Actual Result

Screenshot 2022-08-29 at 15 50 31

krystofwoldrich avatar Aug 29 '22 13:08 krystofwoldrich

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

github-actions[bot] avatar Sep 20 '22 00:09 github-actions[bot]

Currently going through old wizard issues. @krystofwoldrich is this still happening/relevant? A log shouldn't happen after the test finishes. This is weird indeed.

Lms24 avatar Sep 06 '23 06:09 Lms24

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

github-actions[bot] avatar Sep 28 '23 00:09 github-actions[bot]

@Lms24 Seems to fix now. Thanks for the ping.

krystofwoldrich avatar Sep 29 '23 13:09 krystofwoldrich