David Murphy
0ff32b01de
Removed group membership check from the test
2023-11-09 17:03:03 +00:00
David Murphy
cd236c42d9
Limited test ownership to id and no longer change group on files
2023-11-09 17:03:03 +00:00
David Murphy
6d7c2f0dd1
Updated version check in test to prevent running on downgrade
2023-11-09 17:03:03 +00:00
David Murphy
7c4f68b774
Updated test to only run on RedHat family, Ubuntu/Debian has issue 65231
2023-11-09 17:03:03 +00:00
David Murphy
9b6e493db2
Added missing include for temp_directory
2023-11-09 17:03:03 +00:00
David Murphy
af8e35ebce
Package test for log rotation and ownership / permissions
2023-11-09 17:03:03 +00:00
David Murphy
de84120e58
Initial log rotation test for ownership user and group
2023-11-09 17:03:03 +00:00
David Murphy
024eb3f10b
Added changelog for issue
2023-11-09 17:03:03 +00:00
David Murphy
dd9a2bdfa9
Adjust ownership on log rotation
2023-11-09 17:03:03 +00:00
Shane Lee
8e9368263f
Add test when config is missing main
2023-11-08 18:07:30 +00:00
twangboy
07bb453204
Fix test_get_yum_config
2023-11-08 18:07:30 +00:00
twangboy
5e50ccf31c
Fix rsync on Windows using cwRsync
2023-11-08 18:07:30 +00:00
twangboy
bd469106f7
Remove decorator for yumpkg.download
2023-11-08 18:07:30 +00:00
twangboy
b2525aa042
Add tests for yumpkg
2023-11-08 18:07:30 +00:00
Shane Lee
b903999af4
Don't use parametrize on tests that should be skipped
2023-11-08 17:56:13 +00:00
twangboy
4a2aec777a
Put __utils__ back in lgpo module
2023-11-08 17:56:13 +00:00
twangboy
5e8bb1f990
Increase coverage for win_lgpo
2023-11-08 17:56:13 +00:00
twangboy
638c7744fd
Fix tests
2023-11-08 17:56:13 +00:00
twangboy
7cf72073d0
Put __utils__ back in lgpo module
2023-11-08 17:56:13 +00:00
twangboy
1f13ff59b3
Increase coverage for win_lgpo
2023-11-08 17:56:13 +00:00
Daniel A. Wozniak
5942fb296e
Add changelog for 65400 fix
2023-11-07 13:04:53 -07:00
Daniel A. Wozniak
334c5bac25
Only process events that are job returns
2023-11-07 13:04:53 -07:00
Daniel A. Wozniak
4fc11cd53e
Add regression test for issue 65400
2023-11-07 13:04:53 -07:00
David Murphy
850f0b1965
Moved pragma to line of function definition
2023-11-07 00:14:15 -07:00
David Murphy
652ea0e871
Added tests for ssh as part of code coverage increase
2023-11-07 00:14:15 -07:00
Gareth J. Greenaway
642a5bda69
Additional tests for http state.
2023-11-06 18:18:54 +00:00
David Murphy
168c92f20c
Moved pragma no cover statement to the function definition to be excluded
2023-11-06 08:55:42 -08:00
David Murphy
f649068cad
Removed use of mock_cp as per reviewer's comments
2023-11-06 08:55:42 -08:00
David Murphy
0d26d07ff5
Updated test per reviewer comments
2023-11-06 08:55:42 -08:00
David Murphy
a21c1bc8cf
Added skip on Windows for junos test
2023-11-06 08:55:42 -08:00
David Murphy
be22292a55
Added pragma no cover for functions specific only to Juniper native minion
2023-11-06 08:55:42 -08:00
David Murphy
c9d18056e9
Initial port of unittest test_junos to pytest
2023-11-06 08:55:42 -08:00
Pedro Algarvio
49e5127eb5
Integration tests without splits now take longer then 7 hours. Split it again.
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-05 10:46:22 +00:00
Pedro Algarvio
11783d6221
Bump to werkzeug==3.0.1
due to https://github.com/advisories/GHSA-hrfv-mqp8-q5rw
...
Does not upgrade for Py3.7 since this version of werkzeug does not support 3.7.
This also upgrades to `pytest-httpserver==1.0.8`
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-04 06:27:55 +00:00
Pedro Algarvio
5e6fcf022b
Backport https://github.com/saltstack/salt/pull/64323 (Just the requirements)
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-04 06:27:55 +00:00
Pedro Algarvio
3d56434d3e
Upgrade to `pytest-skip-markers==1.5.0
`
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-04 06:27:55 +00:00
David Murphy
d891daa222
Ensure any pre-exiting incorrect ufw directory /etc/ufw/applications.d/salt-master is removed
2023-11-04 06:24:42 +00:00
David Murphy
90fe04b304
Adjust break in control file to 3006.4, for updated salt-common commit b3fcdf8
2023-11-03 18:30:04 +00:00
David Murphy
6b334b72ed
Marked odict as no code-coverage, and removed some proposed tests, essentially using Python's OrderedDict
2023-11-03 12:16:34 +00:00
David Murphy
45932d9112
WIP Ported test_data.py from unittest to pytest and adding additional tests
2023-11-03 12:16:34 +00:00
Pedro Algarvio
bb1bc2a326
And apparently 2 hours is not enough to run one of the integration test chunks
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-03 07:11:29 +00:00
Pedro Algarvio
480a543db7
5 hours is not enough to run the integration tests in a single chunk
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-03 07:11:29 +00:00
Pedro Algarvio
2ba6543016
The problem is still present in 3006.4, can't test downgrade
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-03 06:46:00 +00:00
Pedro Algarvio
b83ede5272
Address my own review comments
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-11-03 06:46:00 +00:00
Barney Sowood
e5b9489731
Disable test for 65231 on downgrade to 3006.3
...
Disables the running of the test for 65231 when downgrading to 3006.3
as the issue that is fixed is in 3006.3 so test will fail when 3006.3
is installed.
2023-11-03 06:46:00 +00:00
Barney Sowood
ffb8e84f60
Add changelog
2023-11-03 06:46:00 +00:00
Barney Sowood
1dad8745de
Add test for issue 65231
2023-11-03 06:46:00 +00:00
Barney Sowood
59f731c94f
Add initial tests for logrotate configs
...
Adds initial tests for logrotate configs to ensure they are installed
in the correct location.
2023-11-03 06:46:00 +00:00
Barney Sowood
1abcf81601
Fix install of logrotate config for debian pkg
...
Fixes the install of logrotate config for the debian pkg
by moving file to pkg/common/logrotate/salt-common. File
is installed via salt-common.install file, which can't
rename files, only copy them to a directory, so we need to
rename the file and put it in a subdir of pkg/common.
Adds /etc/logrotate.d/salt-common to salt.common.conffiles to
ensure that dpkg will not overwrite configs modified by users.
Also updates RPM spec file for new location of logrotate config.
Config needs to be /etc/logrotate.d/salt-common as that is what
is used by 3005.x packages.
2023-11-03 06:46:00 +00:00
cmcmarrow
4fd5072dbd
bumpy pygit2
2023-11-03 05:44:26 +00:00