Mirror of mitogen
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
Alex Willmer dfc7b85504 testlib: Wait for sshd before running tests
On Ubuntu 17.10 something (probably Docker) appears to be accepting
connections, before sshd is fully ready. This results in a race
condition, and hence connection errors for the first few tests (2-3 on
my laptop).

testlib.wait_for_port() checks not only that the port can be connected
to, but also something resembling the sshd banner is sent.

Fixes #51
7 years ago
docs docs: waiting on multiple calls 7 years ago
examples mitop: fix overlong command lines corrupting the followign line 7 years ago
mitogen Ensure _run_defer() fully executes at least once before shutdown 7 years ago
tests testlib: Wait for sshd before running tests 7 years ago
.gitignore gitignore: distutils output files 7 years ago
.travis.yml Bump time allowance for fakessh_test 7 years ago
README.md Fix lnik. 7 years ago
dev_requirements.txt Add mock requirement 7 years ago
preamble_size.py Remove context.key from preamble_size.py too. 7 years ago
setup.py setup: Trove classifiers 7 years ago

README.md

Running The Tests

Build Status

Your computer should have an Internet connection, and the docker command line tool should be able to connect to a working Docker daemon (localhost or elsewhere for OS X etc.) that can run new images.

The IP address of the Docker daemon must allow exposing ports from running containers, e.g. it should not be firewalled or port forwarded.

If in doubt, just install Docker on a Linux box in the default configuration and run the tests there.