Commit graph

24034 commits

Author SHA1 Message Date
Thomas Phipps
3c3285e51e move fix from #66164 for $65703 2024-03-13 16:03:40 -07:00
Pedro Algarvio
cb7cd3e8d9 Daylight savings suck! 2024-03-13 16:13:18 +00:00
Shane Lee
176ccd63e3 Fix issue with refresh_db on Windows
When a new package definition file was added to the repo you had to run
refresh_db twice to get it to show up in the package databse. This
clears the cache before refreshing the database to force changes.
2024-03-11 17:56:59 +00:00
Shane Lee
d09b485c16 Honor saltenv in refresh_db on Windows 2024-03-11 17:54:09 +00:00
Shane Lee
0105aecd96 Fix test on Windows 2024-03-11 16:59:43 +00:00
Erik Johnson
9344558cc9 Add test case 2024-03-11 16:59:43 +00:00
Pedro Algarvio
c402aab17c Bump the timeout for the pyobjects unit tests 2024-03-09 22:26:17 +00:00
Shane Lee
45cf38f4b4 Fix an issue with the win_pki execution module
Change the _cmd_run function so that it raises a CommandExecutionError
when the command fails so that it doesn't try to parse the output of the
command as JSON
Also raise a CommandExecutionError when it recieves invalid JSON
2024-03-06 11:20:37 -07:00
Shane Lee
fdfb0e1310 Fix test_log_beacon.py::test_log_match test on Windows 2024-03-06 15:19:54 +00:00
Gareth J. Greenaway
5ebf18260c removing parens from pytest.fixture. 2024-03-06 15:19:54 +00:00
Gareth J. Greenaway
5c5f484627 renaming virtual test name, fixing nesting. 2024-03-06 15:19:54 +00:00
Gareth J. Greenaway
24f1f3489a Running pre-commit manually 2024-03-06 15:19:54 +00:00
Gareth J. Greenaway
198395f263 Update tests/pytests/unit/modules/test_textfsm_mod.py
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2024-03-06 15:19:54 +00:00
Gareth J. Greenaway
05465fe898 Update tests/pytests/unit/modules/test_textfsm_mod.py
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2024-03-06 15:19:54 +00:00
Gareth J. Greenaway
6da2e379c6 Update tests/pytests/unit/modules/test_textfsm_mod.py
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2024-03-06 15:19:54 +00:00
Gareth J. Greenaway
93579ead06 Update tests/pytests/unit/modules/test_textfsm_mod.py
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
2024-03-06 15:19:54 +00:00
Gareth J. Greenaway
5832c07632 fixing lint issues 2024-03-06 15:19:54 +00:00
Gareth J. Greenaway
7ad348dd48 increase test coverage for textfsm module. 2024-03-06 15:19:54 +00:00
Shane Lee
8c86b5ec70 Make the win_function.get_sam_name function handle Everyone 2024-03-05 16:46:07 -07:00
Pedro Algarvio
a66262933e Fix lint and formatting issues 2024-03-01 18:54:12 +00:00
Skyler Hawthorne
e005c26fff delete s3fs: delete files from cache when deleted from bucket 2024-02-29 14:57:21 -07:00
Pedro Algarvio
03ad4c6337 Update code to be Py3.7+ to reduce merge forward conflicts 2024-02-29 10:16:58 +00:00
Pedro Algarvio
3dea2eb541 Update pre-commit hook versions 2024-02-29 10:16:58 +00:00
Pedro Algarvio
0d6d4cfb36 Remove all kitchen and jenkins related resources
The salt-project hasn't been using them for a very long time.
2024-02-29 10:16:58 +00:00
Pedro Algarvio
67b08abf29 Remove deprecated code 2024-02-29 10:16:58 +00:00
Daniel A. Wozniak
3884ef9652 Fix linter 2024-02-28 16:49:31 -07:00
Daniel A. Wozniak
afb794a7e4 test fix 2024-02-28 16:49:31 -07:00
Daniel A. Wozniak
6c3658828b Fix up tests 2024-02-28 16:49:31 -07:00
Daniel A. Wozniak
874626e5d7 Migrate pillar unit tests to pytest 2024-02-28 16:49:31 -07:00
Daniel A. Wozniak
64e0297936 Provide execution module a regular file client durring pillar rendering 2024-02-28 16:49:31 -07:00
Shane Lee
ecc39aa994 Refactor and add some tests
Added the check to a few other places in channel server
2024-02-28 16:01:43 -07:00
Pedro Algarvio
e9122b1d7c Skip salt-ssh related tests on Fedora 39
The problem is that the tornado we ship is not prepared for Python 3.12,
and it imports `ssl` and checks if the `match_hostname` function is defined, which
has been deprecated since Python 3.7, so, the logic goes into trying to import
backports.ssl-match-hostname which is not installed on the system.
2024-02-28 11:24:14 +00:00
Pedro Algarvio
3978817195 Remove skips targeting PhotonOS 3 2024-02-28 11:24:14 +00:00
Pedro Algarvio
5f48635fe8 Improve logic to account for Alma Linux 2024-02-28 11:24:14 +00:00
Pedro Algarvio
856ac3545e Revert "Add test case"
This reverts commit 21ebbf155d.
2024-02-27 09:47:43 +00:00
Pedro Algarvio
5840ab68a5 We depend on `msgpack >= 1.0`, simplify logic 2024-02-27 08:07:04 +00:00
Pedro Algarvio
890140fba1 The `salt.utils.psutil_compat` module has been deprecated 2024-02-27 08:07:04 +00:00
Pedro Algarvio
b9be2dec1b Update and remove obsolete pylint plugins 2024-02-27 08:07:04 +00:00
Erik Johnson
21ebbf155d Add test case 2024-02-22 15:44:18 -07:00
Daniel A. Wozniak
736ae6c79e Fix ssh tests 2024-02-20 15:15:13 +00:00
Shane Lee
6b98f0d828 Fix lint error 2024-02-18 21:56:52 -07:00
Shane Lee
75db735867 Fix an issue with unresolved grains on Windows
Some WMI calls are returning empty, maybe something is corrupted
underneath. This will just return None for grains that can't be
collected using WMI.
2024-02-18 21:56:52 -07:00
Daniel A. Wozniak
729cf37b79 Set loglevel for unit test 2024-02-18 03:27:05 -07:00
vzhestkov
9cc0635ed3 Fix test_deferred_stream_handler test 2024-02-18 03:27:05 -07:00
vzhestkov
39bb721d37 Fix the _logging test with setting minimum logging level 2024-02-18 03:27:05 -07:00
Pedro Algarvio
c3826c6143 Increase timeouts on problematic test 2024-02-17 11:49:32 +00:00
Cian Yong Leow
a974d5d7db Fix exceptions being set on completed futures
Fixes an issue in the ZeroMQ transport where caught exceptions were being set on futures that had already completed (i.e. done) and were logging lots of error messages.
2024-02-16 14:08:20 -07:00
Pedro Algarvio
1ad68fcd93 Increase timeouts on problematic tests and default to func_only=True 2024-02-16 14:03:50 -07:00
Daniel A. Wozniak
17140c44b8 Update deltaproxy test timeout 2024-02-16 04:06:07 -07:00
Pedro Algarvio
17dddc83ba Increase timeouts on problematic tests 2024-02-15 15:25:35 -07:00