worstcase / blockade

Docker-based utility for testing network failures and partitions in distributed applications
http://blockade.readthedocs.org
Apache License 2.0
907 stars 72 forks source link

Adds REST API #30

Closed pdmars closed 8 years ago

pdmars commented 8 years ago

Docs, tests, and further state refactoring to persist configs needed by the API will be added in future PRs.

labisso commented 8 years ago

Looks good. I did run into an error running the 3.4 tests in vagrant with tox:

==> default: gevent/gevent.corecext.c:5:20: fatal error: Python.h: No such file or directory
... <snip>
==> default: ERROR:   py34: could not install deps [-rrequirements.txt, blockade[test]]; v = InvocationError('/vagrant/.tox/py34/bin/pip install -rrequirements.txt blockade[test] (see /vagrant/.tox/py34/log/py34-1.log)', 1)

I guess the headers aren't available for the tox 3.4 setup?

pdmars commented 8 years ago

Strange. I've been running tox the whole time with both Pythons and haven't had any problems. I added python3.4-dev to the Vagrantfile, I'm guessing that's all that should be needed?

pdmars commented 8 years ago

Merging, we can iterate later if python3.4-dev doesn't fix this.