cyrusimap / cassandane

Other
6 stars 11 forks source link

allocated ports not cleaned up properly if master immediately exits? #5

Open elliefm opened 7 years ago

elliefm commented 7 years ago

This can occur when the cyrus.conf has a bad START entry (probably other causes too)

If we get to die "Master no longer running" in Cassandane::Instance::_start_master(), subsequent tests can fail due to daemons already running on ports (even though Daemon reports that it has checked for stray processes running on these ports).

This mainly shows up if a bunch of tests fail to start master, and use up all the port numbers. Doesn't really happen in small/single test runs.