HomePhorge

Use PID-based ports to test web server listening.
ceee8a185250Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Use PID-based ports to test web server listening.

When running more than one instance of the spec suite concurrently on a single
machine, the hard-coded listening ports in some of the integration tests could
lead to failures - when multiple suites hit the same tests at the same time.

This uses a port number based off the PID, which helps ensure we don't get
spurious failures from concurrency.

Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUcea48e24be76: When shutting down Mongrel, wait synchronously for stop.
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPUceee8a185250: Use PID-based ports to test web server listening. (authored by Daniel Pittman <daniel@puppetlabs.com>).Mar 30 2012, 9:15 PM