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

restart issue #3

Closed
bhenderson opened this issue Mar 12, 2015 · 6 comments
Closed

restart issue #3

bhenderson opened this issue Mar 12, 2015 · 6 comments
Assignees

Comments

@bhenderson
Copy link

I'm getting an error when I modify .autotest file.

Detected change to .autotest, restarting
Unhandled exception: Address already in use - connect(2) for "/tmp/minitest.23138"
/home/bhenderson/.multiruby/install/2.1.2/lib/ruby/2.1.0/drb/unix.rb:41:in `initialize'
  /home/bhenderson/.multiruby/install/2.1.2/lib/ruby/2.1.0/drb/unix.rb:41:in `open'
  /home/bhenderson/.multiruby/install/2.1.2/lib/ruby/2.1.0/drb/unix.rb:41:in `open_server'
  /home/bhenderson/.multiruby/install/2.1.2/lib/ruby/2.1.0/drb/drb.rb:764:in `block in open_server'
  /home/bhenderson/.multiruby/install/2.1.2/lib/ruby/2.1.0/drb/drb.rb:762:in `each'
  /home/bhenderson/.multiruby/install/2.1.2/lib/ruby/2.1.0/drb/drb.rb:762:in `open_server'
  /home/bhenderson/.multiruby/install/2.1.2/lib/ruby/2.1.0/drb/drb.rb:770:in `open_server'
  /home/bhenderson/.multiruby/install/2.1.2/lib/ruby/2.1.0/drb/drb.rb:1373:in `initialize'
  /home/bhenderson/.multiruby/install/2.1.2/lib/ruby/2.1.0/drb/drb.rb:1664:in `new'
  /home/bhenderson/.multiruby/install/2.1.2/lib/ruby/2.1.0/drb/drb.rb:1664:in `start_service'
  /home/bhenderson/.gem/gems/minitest-server-1.0.1/lib/minitest/server.rb:15:in `run'
  /home/bhenderson/prog/github/minitest-autotest/lib/autotest.rb:237:in `run'
  /home/bhenderson/prog/github/minitest-autotest/lib/autotest.rb:137:in `run'
  /home/bhenderson/prog/github/minitest-autotest/bin/autotest:6:in `<main>'
Quitting
/home/bhenderson/.multiruby/install/2.1.2/lib/ruby/2.1.0/drb/unix.rb:41:in `initialize': Address already in use - connect(2) for "/tmp/minitest.23138" (Errno::EADDRINUSE)
        from /home/bhenderson/.multiruby/install/2.1.2/lib/ruby/2.1.0/drb/unix.rb:41:in `open'
        from /home/bhenderson/.multiruby/install/2.1.2/lib/ruby/2.1.0/drb/unix.rb:41:in `open_server'
        from /home/bhenderson/.multiruby/install/2.1.2/lib/ruby/2.1.0/drb/drb.rb:764:in `block in open_server'
        from /home/bhenderson/.multiruby/install/2.1.2/lib/ruby/2.1.0/drb/drb.rb:762:in `each'
        from /home/bhenderson/.multiruby/install/2.1.2/lib/ruby/2.1.0/drb/drb.rb:762:in `open_server'
        from /home/bhenderson/.multiruby/install/2.1.2/lib/ruby/2.1.0/drb/drb.rb:770:in `open_server'
        from /home/bhenderson/.multiruby/install/2.1.2/lib/ruby/2.1.0/drb/drb.rb:1373:in `initialize'
        from /home/bhenderson/.multiruby/install/2.1.2/lib/ruby/2.1.0/drb/drb.rb:1664:in `new'
        from /home/bhenderson/.multiruby/install/2.1.2/lib/ruby/2.1.0/drb/drb.rb:1664:in `start_service'
        from /home/bhenderson/.gem/gems/minitest-server-1.0.1/lib/minitest/server.rb:15:in `run'
        from /home/bhenderson/prog/github/minitest-autotest/lib/autotest.rb:237:in `run'
        from /home/bhenderson/prog/github/minitest-autotest/lib/autotest.rb:137:in `run'
        from /home/bhenderson/prog/github/minitest-autotest/bin/autotest:6:in `<main>'

also, seems like seattlerb/zentest#44 was not carried over (double error output)

@zenspider
Copy link
Contributor

Ah! Good find! This is trying to bring up the server again w/o a proper close

@zenspider zenspider self-assigned this Mar 12, 2015
@zenspider
Copy link
Contributor

Can you file the second issue separately (and/or throw in a PR).

@bhenderson
Copy link
Author

done. thanks #5

deivid-rodriguez pushed a commit to deivid-rodriguez/minitest-autotest that referenced this issue Nov 6, 2015
This seems to work, but I really don't know whether it is an acceptable solution or (since this gem has no tests) whether it breaks something else.
@zenspider
Copy link
Contributor

@bhenderson can you also test out the recent PR to see if it helps?

@bhenderson
Copy link
Author

Hey Ryan. I'm out on leave for the next 2 weeks. I'll take a look when I
get back.

On Friday, November 6, 2015, Ryan Davis notifications@github.com wrote:

@bhenderson https://github.com/bhenderson can you also test out the
recent PR to see if it helps?


Reply to this email directly or view it on GitHub
#3 (comment)
.

@zenspider
Copy link
Contributor

This is fixed and will be released soon.

@minitest minitest locked and limited conversation to collaborators Jan 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants