vagrant/test/unit
Jeff Bonhag dffded5b17
Fixes #11236: Windows port detection
This reverts commit 81553263ab.

This fixes a regression with Windows port detection which led to port
collisions not being fixed on `vagrant up`.

PR #8517 changed `IsPortOpen#is_port_open?` to rescue
Errno::EADDRNOTAVAIL, but when we merged it into master, there was code
in `HandleForwardedPortCollisions#port_check` that depended on that
error bubbling up.

This also changes the port number in the HandleForwardedPortCollisions
tests to be a less common port number -- some of these tests will fail
if there is a local process running on port 8080.
2019-12-09 14:17:05 -05:00
..
bin Add coverage on vagrantfile_name stubbing behavior 2018-07-18 10:50:41 -07:00
plugins Darwin: put each NFS export on its own line (#11216) 2019-11-25 15:41:05 -05:00
support Remove virtualbox context from docker tests 2019-09-11 07:46:40 -07:00
templates Darwin: put each NFS export on its own line (#11216) 2019-11-25 15:41:05 -05:00
vagrant Fixes #11236: Windows port detection 2019-12-09 14:17:05 -05:00
base.rb Only run tests that require bsdtar if it is available 2019-06-19 15:29:55 -07:00
vagrant_test.rb add `Vagrant.version?` helper method 2018-09-07 11:37:30 +02:00