-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[wasm][debugger] HotReload test failures #72946
Comments
Tagging subscribers to this area: @thaystg Issue Details
seen on unrelated PR
|
Head on 0ef117e, all of above are passing. |
Might be random race as @pavelsavara says it was passing on CI re-run. |
ghost
added
the
in-pr
There is an active PR which will close this issue when it is merged
label
Aug 7, 2022
radical
changed the title
[wasm][debugger] test failure
[wasm][debugger] HotReload test failures
Aug 7, 2022
radical
added a commit
that referenced
this issue
Aug 9, 2022
## 1. Fix random HotReload test failures Some of the hot reload tests fail randomly because they call the updated methods too early. The tests used `Thread.Sleep(3000)` to wait for the method to get updated, and the proxy to respond to that. And that's essentially racy. Instead, wait for the `breakpointResolved` event, or the `scriptParsed` events for the methods, as appropriate. Fixes #66024 Fixes #72946 ## 2. Fix race in adding/removing event handlers Use ConcurrentDictionary for event listeners, and notification handlers, since they can be modified from different threads. Fixes #69144 . ## 3. Fix a race condition where the tests start calling methods before the app is ready Fixes #73528
ghost
removed
the
in-pr
There is an active PR which will close this issue when it is merged
label
Aug 9, 2022
|
Created a new issue to fix this: #73957 |
ghost
locked as resolved and limited conversation to collaborators
Sep 14, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
seen on unrelated PR
Log
Log
Log
The text was updated successfully, but these errors were encountered: