This repository was archived by the owner on Dec 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Leaking subscriptions in tree-view tests #136
Copy link
Copy link
Open
Description
Details
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
The tree view tests are leaking path watcher subscriptions.
https://travis-ci.org/github/atom/tree-view/builds/766394277#L603
Steps to Reproduce
- Run tree-view tests
Expected behavior:
Don't leak subscriptions
Actual behavior:
.................................................................................................................................................................................................................................................WARNING: Leaking subscriptions for paths: /private/var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/tree-view-root1202138-2715-3xskew.vyq0g/test-dir/test-file.txt
.............WARNING: Leaking subscriptions for paths: /private/var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/tree-view-root1202138-2715-x4flcf.83jfr/test-dir/test-file.txt
.WARNING: Leaking subscriptions for paths: /private/var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/tree-view-root1202138-2715-pr38cj.siap/test-dir/test-file.txt
.......WARNING: Leaking subscriptions for paths: /private/var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/tree-view-root1202138-2715-17flr9n.whzx/test-dir2/test-file2.txt
.WARNING: Leaking subscriptions for paths: /private/var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/tree-view-root1202138-2715-yudr3u.xzm1e/test-dir2/test-file2.txt
..WARNING: Leaking subscriptions for paths: /private/var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/tree-view-root1202138-2715-1tkkik6.2zaj/test-dir/test-file.txt
.....WARNING: Leaking subscriptions for paths: /private/var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/tree-view-root1202138-2715-oko17w.ha8c/test-dir2/test-file2.txtReproduces how often: 100%
Versions 1.55 and above
Additional Information
Metadata
Metadata
Assignees
Labels
No labels