salt/tests
Erik Johnson 0eb012659c
Fix hanging tests in integration suite
A recent change to nginx appears to be causing this test to fail to
cache the test file in the temp nginx instance we've spun up. This
causes the return of cp.cache_file to be False, which in and of itself
should be enough to fail the test. But since we're not asserting on the
cp.cache_file results, flow proceeds to the next block of code, in which
we open the "file" that we cached. Some genius thought it would be a
swell idea to make io.open() successfully open a filehandle when the
path passed to it is a boolean False. When you try to read from this
filehandle, an AMAZING thing happens... It just blocks. Forever. I know,
right? Pure genius.

This commit adds an assert so that the test fails gracefully and doesn't
try to read from a bogus filehandle that SHOULDN'T EVEN EXIST.
2018-02-27 13:32:57 -06:00
..
integration Fix hanging tests in integration suite 2018-02-27 13:32:57 -06:00
perf
pkg/rpm
support Fix unnecessary/incorrect usage of six.binary_type 2018-01-23 17:54:27 -05:00
unit tests: Add unit tests for _parse_os_release() 2018-02-26 13:38:23 +01:00
utils Misplaced test. Use tests.support.unit instead. 2017-04-01 14:23:00 +01:00
__init__.py
buildpackage.py Take care of resource leakage on tests 2017-04-04 18:58:20 +01:00
committer_parser.py Fix resource leakage 2017-04-05 23:18:00 +01:00
conftest.py Fix basic stats when the test daemons are not running 2017-04-28 13:36:45 +01:00
consist.py Take care of resource leakage on tests 2017-04-04 18:58:20 +01:00
eventlisten.py
eventlisten.sh
jenkins.py Take care of resource leakage on tests 2017-04-04 18:58:20 +01:00
minionswarm.py Take care of resource leakage on tests 2017-04-04 18:58:20 +01:00
modparser.py
packdump.py Take care of resource leakage on tests 2017-04-04 18:58:20 +01:00
runtests.py add additional parser argument for ssh integration tests 2017-11-10 10:58:38 -05:00
salt-tcpdump.py Take care of resource leakage on tests 2017-04-04 18:58:20 +01:00
saltsh.py
wheeltest.py
whitelist.txt Add back the two loader tests 2017-04-17 14:04:20 -06:00
zypp_plugin.py Pylint fixes 2017-06-21 10:09:11 +01:00