Commit graph

24189 commits

Author SHA1 Message Date
Pedro Algarvio
012d1fd205 Bump to idna==3.7 due to https://github.com/advisories/GHSA-jjg7-2v4v-x38h 2024-04-16 19:14:58 +01:00
Shane Lee
75f1449b32 Fix output volume test, skip say test 2024-04-16 14:54:47 +01:00
Shane Lee
fe79f31000 Fix member test 2024-04-16 14:54:47 +01:00
Shane Lee
872a462c85 Some fixtures need to have a 'function' scope 2024-04-16 14:54:47 +01:00
Shane Lee
6a86f354a4 Add missing fixture to test_mac_members 2024-04-16 14:54:47 +01:00
Shane Lee
cb57145514 Make win_system.master locale agnostic 2024-04-15 14:38:05 -07:00
Shane Lee
6fc0fa2e02 Add the ability to clear the context policy cached 2024-04-15 17:07:25 +01:00
Daniel A. Wozniak
02cba2d606 Fix windows pkg tests 2024-04-11 14:25:03 -07:00
Daniel A. Wozniak
f3ab61b069 Fix another test using __opts__ 2024-04-11 14:25:03 -07:00
Daniel A. Wozniak
ee069a155b Fix broken tests 2024-04-11 14:25:03 -07:00
Daniel A. Wozniak
0b8dbd8f20 Better handling of loader returns
- Detect when a loader is returning a NamedLoaderContext and return the
  value. This will cut down on how often we need to call value() in
  loaded modules.
- Add some tests to show newly defined behavior
2024-04-11 14:25:03 -07:00
Daniel A. Wozniak
54372bd248 Add tests for opts dunder 2024-04-11 14:25:03 -07:00
Thomas Phipps
559825c922 remove backwords compatibility.
internally salt doesn't need it. and if someone is using PillarCache
incorrectly that is on them.
2024-04-10 14:58:48 -07:00
Thomas Phipps
4a8f72a15d add changelog and tests 2024-04-10 14:58:48 -07:00
Shane Lee
d78245ce35 Make sure dict keys are lowercase 2024-04-10 14:17:32 -07:00
Shane Lee
0c05af434a Make the underscore directory standard 2024-04-10 17:03:06 +01:00
Shane Lee
e5d1e4db9d Keep directory structure the same on Master and Masterless
Fixes winrepo.update_git_repos so that the directory structure is the
same whether run on the master or on a minion using salt-call.
2024-04-10 17:03:06 +01:00
Pedro Algarvio
9d4d730d59 One more tests that needs the host keys ignored 2024-04-09 09:51:05 +01:00
Tyler Levy Conde
2868ac1f89 revert test changes 2024-04-08 21:54:25 +01:00
Tyler Levy Conde
73d6ca8914 Passing pre-commit 2024-04-08 21:54:25 +01:00
Tyler Levy Conde
e9c86090ae Black and changelog added for 63060 2024-04-08 21:54:25 +01:00
Tyler Levy Conde
a649fec423 file.managed correctly handles paths containing a '#' 2024-04-08 21:54:25 +01:00
Pedro Algarvio
2f0cdc91b7 Move tests so that they can be picked up from changed files automation 2024-04-05 17:08:28 +01:00
Pedro Algarvio
36e23f87ab Revert "Keep directory structure the same on Master and Masterless"
This reverts commit e7b735cdac.
2024-04-05 17:08:28 +01:00
Pedro Algarvio
bc8e35bcd4 Simplify/Fix tests 2024-04-04 22:36:59 +01:00
Shane Lee
e7b735cdac Keep directory structure the same on Master and Masterless
Fixes winrepo.update_git_repos so that the directory structure is the
same whether run on the master or on a minion using salt-call.
2024-04-04 14:13:12 -07:00
Pedro Algarvio
819270445b Some tests just need to get hosts ignored forced 2024-04-04 14:31:11 +01:00
Pedro Algarvio
20f4966ca0 Stop ignoring the host keys, query and write them down as accepted. 2024-04-04 14:31:11 +01:00
Pedro Algarvio
37e56ba0a6 Reap child processes after each of the ssh tests in case of timeouts 2024-04-04 14:31:11 +01:00
Pedro Algarvio
2d578e8ed0 Temporarily skip some tests on Rocky Linux 8 Arm64 2024-04-02 18:16:45 +01:00
ScriptAutomate
42dd9fea5d Replace AlmaLinux with Rocky Linux 2024-04-02 14:13:03 +01:00
Pedro Algarvio
0690b15be6 Windows needs more complex passwords. Use the auto generated one.
Reduce fixture duplication.
2024-04-02 14:12:44 +01:00
nicholasmhughes
025b3f073e use importorskip 2024-04-01 10:30:04 +01:00
nicholasmhughes
ed345d06e7 fixes saltstack/salt#66284 x509.certificate_managed - ca_server did not return a certificate 2024-04-01 10:30:04 +01:00
David Murphy
53fce6957d Fix RedHat family systemd restart on upgrade, and updated tests 2024-03-27 19:16:29 +00:00
Shane Lee
87d3344a7a Fix failing package tests 2024-03-26 19:49:35 +00:00
Shane Lee
017f714e96 Use sorted instead of sort 2024-03-26 19:49:35 +00:00
Shane Lee
4dcad68d9b Don't use configure_loader_modules 2024-03-26 19:49:35 +00:00
Shane Lee
979457d935 Fix some test issues, use sort 2024-03-26 19:49:35 +00:00
Shane Lee
b7dd23ef4e Move test_win_useradd.py to functional 2024-03-26 19:49:35 +00:00
Shane Lee
52ace3bc34 Fix issue with win_user.add
win_useradd.add now allows you to add new users that have only integers in
the username.
It also adds tests for the win_useradd module.
2024-03-26 19:49:35 +00:00
Pedro Algarvio
1f08a3c191 Bump functional test splits to 4 2024-03-25 09:06:36 -07:00
Tyler Levy Conde
65e5c4f227 Fix: Prevent full system upgrade in pkg.installed for Arch Linux
This change modifies the logic in the pacman module to only append the '-u' flag to the pacman command if sysupgrade is explicitly set to True. This prevents the pkg.installed state from triggering a full system upgrade by default on Arch Linux systems.
2024-03-25 09:06:36 -07:00
Pedro Algarvio
ebb02d6c3a Adjust some tests to get passing nightly builds again 2024-03-20 14:24:06 +00:00
Pedro Algarvio
16bead7bcc Remove log call which no longer makes sense 2024-03-20 11:55:21 +00:00
Shane Lee
92d6d41f0c Revert weird change 2024-03-19 16:07:31 +00:00
Shane Lee
e23893fb51 Skip state test on Windows 2024-03-19 16:07:31 +00:00
Shane Lee
76d750dce9 Make the tests run on Windows 2024-03-19 16:07:31 +00:00
Shane Lee
487424408d Fix package tests 2024-03-19 16:07:31 +00:00
Shane Lee
608a8ffd1c Whitelist package tests for Windows 2024-03-19 16:07:31 +00:00