Mike Place
10b68e9375
Merge pull request #41698 from rallytime/flaky-decorator-tcp-test
...
Add flaky decorator to test_badload in tcp unit tests
2017-06-13 16:13:44 -05:00
rallytime
bdf33d7f5f
Merge branch '2016.11' into 'nitrogen'
...
No conflicts.
2017-06-13 09:26:05 -06:00
Nicole Thomas
740e933028
Merge pull request #41703 from gtmanfred/nitrogen
...
mark all mac power tests as flaky
2017-06-12 16:03:15 -06:00
Daniel Wallace
0fa380f75c
npm 5 and greater requires --force for cache clean
...
This is the error
```
npm ERR! As of npm@5, the npm cache self-heals from corruption issues and
data extracted from the cache is guaranteed to be valid. If you want to make
sure everything is consistent, use 'npm cache verify' instead.
npm ERR!
npm ERR! If you're sure you want to delete the entire cache, rerun this command
with --force.
```
2017-06-12 14:48:43 -06:00
Daniel Wallace
b202505923
mark all mac power tests as flaky
...
After talking to @cro, all of the mac power modules became super flaky in
Sierra. Because of this, I am marking all of the mac power tests with the
flaky decorator.
2017-06-12 13:34:12 -06:00
rallytime
67f0c17da3
Add flaky decorator to test_badload in tcp unit tests
2017-06-12 11:10:22 -06:00
Erik Johnson
a29b458416
Update orphan finding code to handle differences in psutil on PY3
...
This should fix the remainder of the test flakiness for
integration.shell.test_proxy.ProxyTest.test_exit_status_correct_usage
2017-06-09 15:20:23 -05:00
Gareth J. Greenaway
08a92e041e
Removing rogue file that shouldn't be referenced
2017-06-09 09:16:09 -06:00
Gareth J. Greenaway
53a216378c
Fixing the last text failure.
2017-06-09 09:16:09 -06:00
Gareth J. Greenaway
4d3399c6c4
Couple more typos, assert not asset.
2017-06-09 09:16:09 -06:00
Gareth J. Greenaway
14a903ef61
Fixing typo in assertSaltTrueReturn, assertSaltFalseReturn and assertSaltNoneReturn.
2017-06-09 09:16:09 -06:00
Gareth J. Greenaway
a531d01b26
Updating the assert tests for develop based on changes from 41569.
2017-06-09 09:16:09 -06:00
Nicole Thomas
c292b1161f
Lint: quick fix to add missing blank line
2017-06-08 16:04:59 -06:00
Daniel Wallace
5010e1a89d
Disable libcloud test if the module doesn't load
...
This is causing the mac tests to fail. apache-libcloud 0.20.1 is what is being
imported, and the libcloud_dns module is not being used.
2017-06-08 11:27:24 -06:00
Erik Johnson
0428617b52
Wait for orphans in test_exit_status_correct_usage
...
Also ensure that the shutdown will be run even when assertions fail
2017-06-08 00:44:52 -05:00
Erik Johnson
cb91437b08
Add wait_for_orphans to testprogram classes
...
This allows for the shutdown function to also terminate any orphaned
processes which were spawned during the time between when
terminate_process is invoked, and when the processes are actually
killed.
2017-06-08 00:25:53 -05:00
Erik Johnson
846200f11e
Include terminate_process_list in import
2017-06-08 00:24:53 -05:00
Mike Place
143dad59af
Merge pull request #41408 from s0undt3ch/nitrogen
...
Partially revert 1b84bee06
. Fixes #40517
2017-06-07 12:05:25 -05:00
Mike Place
45326ccdec
Merge pull request #41621 from gtmanfred/mac
...
Fix some mac tests
2017-06-07 10:19:25 -05:00
Erik Johnson
913450bd45
Merge pull request #41620 from Ch3LL/skip_mac_git
...
Skip git_pillar tests on MacOSX
2017-06-07 09:07:01 -05:00
Nicole Thomas
832b96ea05
Merge pull request #41614 from rallytime/merge-nitrogen
...
[nitrogen] Merge forward from 2016.11 to nitrogen
2017-06-06 18:42:44 -06:00
rallytime
8aaadd8787
Revert "Update new pyroute2 unit test to conform with 2016.11 branch standards"
...
This reverts commit 535b8e8d8e
.
2017-06-06 16:35:12 -06:00
Ch3LL
0e35605f20
Skip git_pillar tests on MacOSX
2017-06-06 17:17:57 -04:00
Mike Place
8f9ba1f258
Merge pull request #41615 from Ch3LL/fix_mac_clock
...
Fix get_hwclock_aix test on MacOSX
2017-06-06 15:52:32 -05:00
Daniel Wallace
b25b487ceb
create home directory for issue-1959
...
Fixes https://github.com/saltstack/salt-jenkins/issues/388
2017-06-06 13:32:57 -06:00
Ch3LL
ea147701f4
Fix get_hwclock_aix test on MacOSX
2017-06-06 15:06:08 -04:00
rallytime
1a40e105e5
Merge branch '2016.11' into 'nitrogen'
...
Conflicts:
- tests/integration/__init__.py
- tests/integration/modules/test_state.py
2017-06-06 12:57:44 -06:00
Mike Place
53ecb5c4b0
Merge pull request #41553 from terminalmage/issue41527
...
Fix installing RPMs via remote URLS which are 30x redirects
2017-06-06 13:23:41 -05:00
Daniel Wallace
fd23f7dad3
Mark known flaky mac power test
2017-06-06 12:19:45 -06:00
Mike Place
b720ecb732
Merge pull request #41569 from gtmanfred/fix_test_result_check
...
Check all entries in result
2017-06-06 13:18:16 -05:00
Ch3LL
8d27bb31b2
Disable home dir check for mac in more test_user tests
2017-06-06 11:20:18 -04:00
Ch3LL
85e77c9cc8
Disable home dir check for mac in test_user
2017-06-06 11:02:19 -04:00
rallytime
535b8e8d8e
Update new pyroute2 unit test to conform with 2016.11 branch standards
2017-06-05 20:55:44 -06:00
Nicole Thomas
ebfc9f214a
Merge pull request #41594 from Ch3LL/fix_mac_check_cmd
...
change group to wheel for macosx in tests
2017-06-05 20:45:02 -06:00
Nicole Thomas
be0683de78
Merge pull request #41595 from gtmanfred/nitrogen
...
Make sure runtests_engine is ASCII text
2017-06-05 20:43:50 -06:00
Nicole Thomas
fa9d7015ca
Merge pull request #41589 from Ch3LL/fix_locale_map
...
Skip locale tests on MacOSX
2017-06-05 20:42:48 -06:00
Mike Place
d7fe4ba7a9
Merge pull request #41592 from terminalmage/py3-tests
...
Kill child PIDs when shutting down a testprogram daemon
2017-06-05 19:01:49 -05:00
Daniel Wallace
19ea5481b6
remove test that never passed
2017-06-05 17:45:23 -06:00
Daniel Wallace
f309bae8b4
Make sure runtests_engine is ASCII text
...
If this is has any unicode characters in it, it won't load on systems that do
not default to a unicode locale.
find . -type f | while read line; do ret=$(file $line); if [[ $ret == *UTF-8* && $line == *.py ]]; then echo $line; fi; done
The above will list all files that have unicode characters in it and won't load
with locale set to C or POSIX
2017-06-05 17:30:28 -06:00
Peter V. Saveliev
5c86dee73c
unit tests: test_pyroute2 -- add skipIf
...
... and comments
Bug-Url: https://github.com/saltstack/salt/pull/41533
2017-06-05 17:22:48 -06:00
Peter V. Saveliev
026b39493f
unit tests: add encoding clause into test_pyroute2
...
Bug-Url: https://github.com/saltstack/salt/pull/41533
2017-06-05 17:22:48 -06:00
Peter V. Saveliev
9ab203d54b
unit tests: fix absolute imports in test_pyroute2
...
Bug-Url: https://github.com/saltstack/salt/pull/41533
2017-06-05 17:22:48 -06:00
Peter V. Saveliev
1f507cfa7a
unit tests: add pyroute2 interface dict test
...
Bug-Url: https://github.com/saltstack/salt/pull/41487
Bug-Url: https://github.com/saltstack/salt/issues/41461
2017-06-05 17:22:48 -06:00
Erik Johnson
8e380679cc
Kill child PIDs when shutting down a testprogram daemon
...
This fixes the test failures recently observed in
integration.shell.test_master.MasterTest.test_exit_status_correct_usage.
The test failures were not a regression, but rather a symptom of a
greater problem with the TestProgram class' shutdown() func. When
terminating the process using the terminate_process helper from
pytest-salt, it does not pass kill_children, which defaults to False.
This makes the helper only kill the main PID, leaving all the other PIDs
running.
This means that every time the integration suite was being run, each
time the TestProgram class was used to spawn a temporary daemon, it
would leave all the child PIDs running when the shutdown() is invoked.
By passing kill_children=True, we ensure that the child PIDs are also
killed. This should provide a significant perfomance improvement in the
test suite.
2017-06-05 16:38:23 -05:00
Ch3LL
ddcb1ca9a7
change group to wheel for macosx in tests
2017-06-05 17:16:54 -04:00
Ch3LL
8c10cbd01d
Skip locale tests on MacOSX
2017-06-05 15:57:20 -04:00
rallytime
903e2f9922
Merge branch '2016.11' into 'nitrogen'
...
No conflicts.
2017-06-05 13:38:51 -06:00
Nicole Thomas
cc6c98a8d8
Merge pull request #41509 from seanjnkns/fix-keystone-v3-endpoint_present
...
Add keystone V3 API support for keystone.endpoint_present|absent
2017-06-02 21:01:05 -06:00
Daniel Wallace
e2a4d5e1e2
Check all entries in result
...
Without this change, we ony check the first return from state tests, if
there is more than one state run, we do not check subsequent tests.
2017-06-02 17:26:07 -06:00
Nicole Thomas
a49348cc89
Merge pull request #41535 from rallytime/merge-nitrogen
...
[nitrogen] Merge forward from 2016.11 to nitrogen
2017-06-01 16:25:35 -06:00