Commit graph

119253 commits

Author SHA1 Message Date
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
b2fe6c45db Bump functional test splits to 4 2024-03-21 21:15:17 +00:00
Pedro Algarvio
ccfd8ea364 Upgrade to `pytest-salt-factories==1.0.0` 2024-03-21 21:15:17 +00:00
Shane Lee
e525bbada3 Remove vcredist and ucrt from Windows install 2024-03-21 14:54:03 +00: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
Pedro Algarvio
e0c876b985 Get AWS regions and SPB_ENVIRONMENT from metadata endpoint 2024-03-19 19:09:56 +00:00
Felippe Burk
e60f6a4bdf Initial commit of s3 caching 2024-03-19 19:09:56 +00:00
Pedro Algarvio
533af2a851 Add our own GH cache action
This actions wraps actions/cache and forces an early exit if 'fail-on-cache-miss' is true

Based on the work from https://github.com/saltstack/salt/pull/66240
2024-03-19 19:09:56 +00:00
Pedro Algarvio
f0284f75e0 Force cache invalidation by setting cache seed to 1 2024-03-19 19:09:56 +00:00
Pedro Algarvio
e3fcc657b9 Remove invalid properties from existing GH actions 2024-03-19 19:09:56 +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
Pedro Algarvio
e50d3a194f Skip problematic MacOS test in specific conditions 2024-03-18 11:03:58 +00:00
Pedro Algarvio
c0823f6a68 Increase timeouts 2024-03-18 11:03:58 +00:00
Pedro Algarvio
009c059b26 Bump to pygments==2.17.2 due to https://github.com/advisories/GHSA-mrwq-x4v8-fh7p 2024-03-14 16:16:19 +00:00
Daniel A. Wozniak
7c61ac738e Check for content-type after headers dict has been populated 2024-03-14 13:04:29 +00:00
Daniel A. Wozniak
773772c426 Fix content-type backwards compatability 2024-03-14 13:04:29 +00:00
Pedro Algarvio
aee2110921 Increase test timeout 2024-03-14 12:32:06 +00:00
Pedro Algarvio
5bced402fb Upgrade to flaky==3.8.1 2024-03-14 12:32:06 +00:00
Pedro Algarvio
d8cb80216e Remove custom fixture scope ordering code
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-03-14 12:32:06 +00:00
Pedro Algarvio
8fc4738ead Upgrade to Pytest 8.1.x 2024-03-14 12:32:06 +00:00
Thomas Phipps
666b50a56b stupid mistake correction 2024-03-14 08:34:56 +00:00
Thomas Phipps
3b361a9e5b attempt #1 to fix tests 2024-03-13 16:03:40 -07:00
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
cbae042701 Don't use curl on Windows 2024-03-12 17:31:30 +00:00
Shane Lee
9fb22eee5f Remove offending colon 2024-03-12 16:21:37 +00:00
Shane Lee
0fbe408bbb Remove get_package_info from missing_examples 2024-03-11 17:56:59 +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
8512c0893a black 2024-03-11 16:59:43 +00:00
Erik Johnson
6da38663e7 Add changelog entry 2024-03-11 16:59:43 +00:00
Erik Johnson
9344558cc9 Add test case 2024-03-11 16:59:43 +00:00
Erik Johnson
fb86bf3423 Fix file.directory clobbering backupname path with test=True 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
Pedro Algarvio
6952f883bd Bump to pytest-timeout==2.3.1 2024-03-09 22:26:17 +00:00
Shane Lee
5e36621803 Upgrade WIX to 3.14 2024-03-08 21:32:29 +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
Pedro Algarvio
7e1ac8dd5a Add textfsm to our requirements so that tests depending on it actually run 2024-03-06 15:19:54 +00: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