Erik Johnson
fbcd142ea2
Add configuration docs for optimization_order config option
2018-08-08 11:22:52 -05:00
Erik Johnson
8af2d580f3
Only compile the suffix_order/map once per LazyLoader instance
...
The values that dictate this are module-level globals, so repeating this
every time we refresh the file mapping is unnecessary.
2018-08-08 11:22:52 -05:00
Erik Johnson
4b95e5f313
Don't put __pycache__ dir in the file list
...
This prevents the loader from needlessly trying to process it (which
will fail anyway since it's not a file).
2018-08-08 11:22:52 -05:00
Erik Johnson
e7c10196da
Quiet the byte compiling for PY2
2018-08-08 11:22:52 -05:00
Erik Johnson
9338370477
Add unit tests for loader optimization levels
2018-08-08 11:22:52 -05:00
Erik Johnson
c3622933c1
PY3: Support different optimization levels
...
This uses the optimization_order config option to control which module
is loaded when multiple optimization levels have been installed.
2018-08-08 11:22:52 -05:00
Erik Johnson
6fc8da5bab
Add optimization_order config option with default value
2018-08-08 11:22:51 -05:00
Erik Johnson
dfe423a1e0
Remove commented-out log message
2018-08-08 11:22:51 -05:00
Nicole Thomas
b49eeca6e9
Merge pull request #49003 from rallytime/boto-test-2017.7
...
Back-port #48999 to 2017.7
2018-08-08 11:35:48 -04:00
rallytime
1a23bb233f
Update expected return value in boto test
...
The expected return from moto has changed from `-1` to `None` in the
latest version of moto (1.3.4). This PR updates the test to be in line
with the return from moto.
2018-08-08 10:42:57 -04:00
Nicole Thomas
51eed1fdfb
Merge pull request #48988 from rallytime/merge-2017.7
...
[2017.7] Merge forward from 2017.7.8 to 2017.7
2018-08-08 08:56:09 -04:00
rallytime
df8699e2e7
Merge branch '2017.7.8' into '2017.7'
...
No conflicts.
2018-08-07 21:30:24 -04:00
Daniel Wallace
10fd4661ff
Merge pull request #48978 from gtmanfred/2017.7
...
clean up gemfile
2018-08-07 14:03:58 -05:00
Nicole Thomas
a1e54634dc
Merge pull request #48976 from rallytime/tornado
...
Skip unreliable tornado tests
2018-08-07 14:55:24 -04:00
Nicole Thomas
22713be9c1
Merge pull request #48979 from rallytime/bp-48959
...
Back-port #48959 to 2017.7.8
2018-08-07 14:11:52 -04:00
Nicole Thomas
5b2423e527
Merge pull request #48959 from rallytime/flaky-tests
...
Mark some more tests as flaky
2018-08-07 12:33:15 -04:00
Daniel Wallace
6108363f82
clean up gemfile
...
Remove opennebula, since we are using docker and ec2
Pin winrm to the package since our changes have been released by
upstream
2018-08-07 11:01:07 -05:00
rallytime
0bd838ab6c
Skip unreliable tornado tests
...
Marked as flaky originally, but they're still flaky with undetermined
race-conditions. These are skipped in 2018.3 and forward, so let's skip
them here as well.
2018-08-07 11:22:18 -04:00
Nicole Thomas
03aa0e49b0
Merge pull request #48970 from Ch3LL/back_48962
...
[2017.7.8] Backport #48962
2018-08-07 11:01:56 -04:00
Nicole Thomas
e6cea5e3c7
Merge pull request #48968 from rallytime/man-pages
...
Update man pages for 2017.7.8 release
2018-08-07 10:29:07 -04:00
Gareth J. Greenaway
3ce1b8a3c9
Update the elif block to only be true for versions below Debian 9.
2018-08-07 09:58:40 -04:00
rallytime
64fe3be41a
Update man pages for 2017.7.8 release
2018-08-07 09:35:01 -04:00
Nicole Thomas
79994ecab4
Merge pull request #48962 from garethgreenaway/1022_test_service_disable_debian_part_deux
...
[2017.7] Fixing tests/integration/modules/test_service.py
2018-08-07 07:52:51 -04:00
Daniel Wozniak
1a1bda00cb
Merge pull request #48960 from dwoz/block_replace_tests
...
Multiple block replace test fixes
2018-08-06 16:01:25 -07:00
Gareth J. Greenaway
9e71551b36
Update the elif block to only be true for versions below Debian 9.
2018-08-06 15:11:55 -07:00
Nicole Thomas
93b862f350
Merge pull request #48957 from whytewolf/beacons_log_doc_change
...
Update salt.beacons.log to reflect that re module is used for matching.
2018-08-06 16:52:26 -04:00
Daniel A Wozniak
94ac2b4fc7
Multiple block replace test fixes
2018-08-06 13:35:21 -07:00
rallytime
aaf986d728
Mark one grains test as flaky & convert to pytest notation
2018-08-06 15:03:27 -04:00
Nicole Thomas
0245cffb07
Merge pull request #48955 from terminalmage/service-systemd
...
Don't load service.py if minion is running a non-sysvinit init system
2018-08-06 15:01:08 -04:00
rallytime
e7e5abcf48
Mark 2 matcher tests as flaky
2018-08-06 14:47:44 -04:00
Thomas Phipps
a77fd16869
Update salt.beacons.log to reflect that re module is used for matching.
...
As more non-python users are starting to use Salt, it would be useful to
point out which regular expression engines are in use so that users can
adapt accordingly.
2018-08-06 11:31:44 -07:00
Erik Johnson
23f87bd536
Don't load service.py if minion is running a non-sysvinit init system
...
This keeps service.py from overriding systemd.py, among others.
2018-08-06 10:10:32 -05:00
Nicole Thomas
848d583438
Merge pull request #48950 from KaiSforza/kitchenfix-2017.7
...
Added a quote to kitchen Jenkinsfiles
2018-08-06 10:29:07 -04:00
William Giokas
5242cb143a
Added a quote to kitchen Jenkinsfiles
...
Kitchen wasn't running correctly
2018-08-06 08:25:25 -06:00
Nicole Thomas
928d688d65
Merge pull request #48943 from rallytime/flaky-tests
...
Mark some shell and runner integration tests as flaky
2018-08-06 09:08:13 -04:00
Daniel Wallace
cd42510d3a
Merge pull request #48940 from rallytime/bp-48852
...
Back-port #48852 to 2017.7
2018-08-05 16:32:26 -05:00
rallytime
668da57ab9
Mark some shell and runner integration tests as flaky
...
In addition to marking these tests as flaky, the commit also updates
the affected tests to use pytest notation instead of unittest notation.
2018-08-05 16:19:29 -04:00
William Giokas
fa4ef92e79
Record all the artifacts from the build
2018-08-05 15:53:18 -04:00
Nicole Thomas
43649a68be
Merge pull request #48935 from garethgreenaway/1045_test_pkg_015_installed_held_centos
...
[2017.7] Fix to test_pkg.test_pkg_015_installed_held
2018-08-05 15:47:38 -04:00
Nicole Thomas
2421e2a570
Merge pull request #47100 from gtmanfred/ssh
...
Allow for not being prompted to supply a password to deploy keys to a…
2018-08-05 15:12:57 -04:00
Nicole Thomas
d541bd6446
Merge pull request #48891 from damon-atkins/2017.7_win_pkg.list_pkgs_not_found
...
win_pkg: Fix issue introduced in Jan 2018 DisplayVersion missing should result…
2018-08-05 14:53:46 -04:00
Nicole Thomas
5f6a56f5dc
Merge pull request #48896 from rallytime/bp-48730
...
Back-port #48730 to 2017.7
2018-08-05 14:20:39 -04:00
Nicole Thomas
0bb10107b6
Merge branch '2017.7' into 1045_test_pkg_015_installed_held_centos
2018-08-05 14:12:26 -04:00
Nicole Thomas
0c64bba865
Merge pull request #48933 from garethgreenaway/1022_debian_8_failing_service-test
...
[2017.7] Fix to test_service_disable_doesnot_exist
2018-08-05 10:29:42 -04:00
Gareth J. Greenaway
24d5e6a22f
Fixing the test_pkg_015_installed_held test to be able to successfully run on CentOS
2018-08-03 21:36:59 -07:00
Gareth J. Greenaway
280d1d2ad2
Fixing failing test, integration.modules.test_service.ServiceModuleTest.test_service_disable_doesnot_exist, on Debian 8 and higher.
2018-08-03 16:39:48 -07:00
Nicole Thomas
57aa204c9d
Merge branch '2017.7' into bp-48730
2018-08-03 17:08:07 -04:00
Nicole Thomas
0c3d2c6a09
Merge pull request #48922 from rallytime/cache-doc-error
...
Update backticks on job_cache docs
2018-08-03 17:05:45 -04:00
Nicole Thomas
8d1fc4f8e5
Merge pull request #48866 from Ch3LL/cmd_win_tests
...
Add cmd module integration tests for windows and fix space in path issue
2018-08-03 17:03:32 -04:00
Nicole Thomas
905da13653
Merge branch '2017.7' into cmd_win_tests
2018-08-03 15:10:29 -04:00