-
Notifications
You must be signed in to change notification settings - Fork 29
feature: Lute test runs all the tests #557
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
Conversation
0e3d536 to
9edae30
Compare
ef2f7da to
a53a809
Compare
a53a809 to
285ce59
Compare
9c2d5a3 to
cfdac1b
Compare
This use after free manifested intermittently when running lots and lots of tests at a time in this PR: #557. The cause of this uaf happens because we do not close the `fs_event_t` handle. When the `WatchHandle` wrapper gets closed, it invoked `uv_event_stop` but not `uv_close`, so the memory associated with the handle gets freed, but `libuv` doesn't know that this handle is closed. This causes uv's internal data structures to get messed up and we may accidentally touch this freed memory causing the Use-After-Free. `WatchHandle::close` already invokes `uv_event_stop`, so we can remove this from the implementation of `closeHandle`.
0c42ac0 to
61d24e8
Compare
61d24e8 to
b60b8ef
Compare
92ae627 to
57fa911
Compare
…errors in runner Revert ci.yml changes
f8090c5 to
da7cfdc
Compare
| suite:case("lute test runs tests in discovery folder", function(assert) | ||
| -- Run lute test on tests/cli/discovery folder |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if we dont do this, lute test calls itself recursively.
da7cfdc to
053487e
Compare
053487e to
827a3be
Compare
annieetang
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could u make a note about why we aren't using this in CI for now? or a follow up issue for it
|
Created a follow up issue for running this in CI here: #634. I'm going to spend some time tomorrow digging into this to figure out exactly why the @Batteries require fails with |
Run all the tests in your project via:
Run some of the tests in a directory via: