mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
dd193cc740
The tornado web aplication that was set up in the archive tests, and then duplicated in the remote file integration tests, starts the web server, but never stops it. This creates a stacktrace that hangs the other test file that attempts to start the web server. The Application class has a `listen()` function, but not a `stop()` function. The change uses the `HTTPServer` class to set up the listening server, but also has the necessary `stop()` function. (The `listen()` function from the `Application` class just calls out to the `HTTPServer`'s `listen()` function, so this works nicely here.) We can then call the `stop()` function in the `tearDownClass` class method. I also removed some duplicate STATE_DIR definitions. |
||
---|---|---|
.. | ||
__init__.py | ||
alternatives.py | ||
archive.py | ||
boto_sns.py | ||
bower.py | ||
cmd.py | ||
compiler.py | ||
file.py | ||
git.py | ||
handle_error.py | ||
handle_iorder.py | ||
host.py | ||
keystone.py | ||
match.py | ||
mysql.py | ||
network.py | ||
npm.py | ||
pip.py | ||
pkg.py | ||
pkgrepo.py | ||
rabbitmq_user.py | ||
rabbitmq_vhost.py | ||
renderers.py | ||
ssh.py | ||
supervisord.py | ||
svn.py | ||
user.py | ||
virtualenv.py |