salt/tests/integration/states
rallytime dd193cc740 Make sure the tornado web server is stopped at the end of the test class
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.
2017-03-20 13:08:17 -06:00
..
__init__.py Include the python encoding file header on tests. 2013-11-27 11:19:24 +00:00
alternatives.py Lint fix 2016-03-24 16:33:18 -06:00
archive.py Make sure the tornado web server is stopped at the end of the test class 2017-03-20 13:08:17 -06:00
boto_sns.py Py3 compatibility 2015-01-30 22:27:10 +00:00
bower.py Implement Bower state module 2015-02-21 05:57:54 +00:00
cmd.py Merge pull request #35180 from twangboy/int_states_cmd 2016-08-30 17:44:04 +09:00
compiler.py tests/integration/states/compiler.py: remove env support 2016-02-16 20:33:23 -07:00
file.py Make sure the tornado web server is stopped at the end of the test class 2017-03-20 13:08:17 -06:00
git.py Reset socket default timeout to None (fixes daemons_tests failures) (#38181) 2016-12-09 13:49:44 -07:00
handle_error.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
handle_iorder.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
host.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
keystone.py clean up keystone tests 2016-09-21 14:43:42 -05:00
match.py Clean up open filehandles (#35359) 2016-08-11 10:45:24 -06:00
mysql.py Merge branch '2015.8' into '2016.3' 2016-07-20 12:32:08 -06:00
network.py Changed network state test to use test=True 2016-07-12 12:40:40 -06:00
npm.py Merge pull request #30979 from dschaller/npm-cache-clean 2016-02-18 14:51:04 -07:00
pip.py Skip weird_install test on Mac OS X 2016-10-20 11:05:34 -06:00
pkg.py Merge branch '2016.3' into 'carbon' 2016-09-14 13:08:42 -06:00
pkgrepo.py Merge remote-tracking branch 'upstream/2015.5' into merge-forward-2015.8 2016-01-21 14:37:32 -07:00
rabbitmq_user.py Fixup the rabbitmq_user state test failure (#36541) 2016-09-23 15:05:40 -06:00
rabbitmq_vhost.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
renderers.py Python 3 compat fixes for develop 2015-04-17 12:00:01 -06:00
ssh.py Merge branch '2015.8' into '2016.3' 2016-07-12 14:29:35 -06:00
supervisord.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
svn.py Reset socket default timeout to None (fixes daemons_tests failures) (#38181) 2016-12-09 13:49:44 -07:00
user.py Suse user state test fix (#36009) 2016-09-01 16:28:13 -06:00
virtualenv.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00