salt/tests/integration
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
..
cli Import from the original modules not tests.integration 2017-04-04 18:58:19 +01:00
client Lint fixes 2017-07-21 16:14:32 -06:00
cloud Fix linter warnings. 2018-02-09 05:16:59 +11:00
externalapi tag venafi as destructive and expensive 2017-05-25 15:15:49 -06:00
files Merge pull request #45908 from DimensionDataResearch/fix/issue/45884 2018-02-12 17:05:28 -05:00
fileserver These are not integration tests 2017-04-01 14:22:51 +01:00
grains Import from the original modules not tests.integration 2017-04-04 18:58:19 +01:00
loader The file listing needs to be sorted to return expectable results. 2017-06-01 18:47:22 +01:00
minion test updating the minion blackout timeout to 10 seconds 2018-01-21 14:42:56 -07:00
mockbin Add "mockbin" directory and a fake "su" wrapper for tests 2012-07-26 22:14:00 +06:00
modules Fix hanging tests in integration suite 2018-02-27 13:32:57 -06:00
netapi Merge branch '2016.11' into 'nitrogen' 2017-05-24 16:32:59 -06:00
output Lint: Remove extra empty lines at end of files 2017-12-01 14:46:27 -05:00
pillar Skip git_pillar tests on MacOSX 2017-06-06 17:17:57 -04:00
proxy Add state, grains and service proxy tests 2017-10-24 16:59:56 -04:00
reactor Import from the original modules not tests.integration 2017-04-04 18:58:19 +01:00
renderers Import from the original modules not tests.integration 2017-04-04 18:58:19 +01:00
returners Import from the original modules not tests.integration 2017-04-04 18:58:19 +01:00
runners fix up symlinks 2018-01-04 17:29:45 -05:00
sdb Take care of resource leakage on tests 2017-04-04 18:58:20 +01:00
shell fix pylint 2017-12-05 14:39:36 -05:00
spm specify checking man page path 2018-01-19 17:53:20 -07:00
ssh Further fixes to for salt-ssh test under heavy load 2018-01-22 07:33:42 -05:00
states Fix incorrect translation of docker port_bindings -> ports 2018-02-08 23:23:43 -06:00
utils Avoid race condition when iterating through processes 2017-06-29 15:08:17 -05:00
wheel Merge branch '2016.11' into 'nitrogen' 2017-05-04 11:49:33 -06:00
__init__.py Add masterless state.highstate integration test 2017-11-29 10:15:56 -05:00