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

cannot launch Chrome app if test suite is interrupted #38

Open
patrick99e99 opened this issue Jan 23, 2020 · 5 comments
Open

cannot launch Chrome app if test suite is interrupted #38

patrick99e99 opened this issue Jan 23, 2020 · 5 comments

Comments

@patrick99e99
Copy link

patrick99e99 commented Jan 23, 2020

Mac OS X 10.10.5
Chrome Version 79.0.3945.130 (Official Build) (64-bit)

Steps to reproduce:

  1. Chrome icon is on dock
  2. Capybara test is started
  3. Chrome icon on dock bounces a single time, test is running
  4. Press ctrl-c to stop test in progress
  5. Click Chrome icon on dock

Observe the chrome icon bounces a single time but app does not launch.

ps shows that chrome is not running, yet it will not launch without a reboot.

@patrick99e99
Copy link
Author

This is what my activity monitor looks like after a day of working on getting my feature specs passing with Apparition.

Screen Shot 2020-01-23 at 6 09 10 PM

@evgeniradev
Copy link

evgeniradev commented Feb 4, 2020

This happens on my system too:
Mac OS X 10.13.6
Chrome Version 79.0.3945.130

@twalpole
Copy link
Owner

twalpole commented Apr 6, 2020

I'm wondering whether this has something to do with older versions of OSX

@patrick99e99
Copy link
Author

patrick99e99 commented Apr 6, 2020

I actually upgraded to 10.15 and still experience this. If I run tests, and then ctrl-c and stop the tests, I see that the process of Chrome was not killed.

@shepmaster
Copy link

I've seen this as well on macOS 10.15.5. My daily driver is Chrome Canary, but I use stable Chrome for video calls and the like. Apparition uses stable Chrome (which is what I'd want), so I might not notice this for a day or two.

I do have to really kill RSpec to trigger this. Pressing Ctrl-C once will interrupt RSpec and it will shut down cleanly. Pressing it twice will kill it immediately, and that's when the rogue Chrome processes will stick around.

Our test suite also spins up some Redis instances that exhibit the same behavior in the same circumstances, so this may not be an Apparition-specific issue.

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

No branches or pull requests

4 participants