Twangboy
2b288fa007
Use different version for the everything package
2025-01-23 20:39:04 -07:00
Twangboy
2a384ec9e7
Disable chocolatey 1.2.1 tests
2025-01-23 20:39:04 -07:00
Daniel A. Wozniak
deda5dc15e
Skip tests when it will fail due to hostnamctl not working in some containers
2025-01-23 16:36:35 -07:00
Barney Sowood
b6a92f693d
Modify tests to use user temp directory
...
Modifies the win_dacl tests to use the user temp directory as using
any other directories breaks the expected matching perms
2025-01-22 12:57:32 -07:00
Barney Sowood
76fcc87785
Fix version check for patch
...
Fixes the version check for patch in test_file.py. It was expecting the
version string to be the 2nd string in the output, but it can be the
3rd. Updated the parsing to just get the last string on the first line.
2025-01-20 02:37:47 -07:00
Barney Sowood
955529f1c0
Update test_gem to set gem_binary to "gem.cmd
...
Updates tests/integration/modules/test_gem.py to pass
gem_binary="gem.cmd" to the gem module on windows. Although just using
"gem" on the commandline works, from the module, via cmd.run_all it
doesn't.
2025-01-20 02:37:15 -07:00
Barney Sowood
5fe28f00f9
Skip cmd.script tests on windows
...
Skips cmd.script tests on windows. These are using a python script
that relies on the shebang in the script to work on Unix like OSes. That
won't work on Windows.
2025-01-17 16:14:28 -07:00
Barney Sowood
b0a06655e4
Update salt_factories_default_root_dir GH runners
...
Updates salt_factories_default_root_dir to use $RUNNER_TEMP if running
in CI and using Windows. This is setup by the Github Runner and
should be on the same disk as the checked out repo.
Without doing that, the salt_factories_default_root_dir will be in the
user's temp dir which is on a different disk. This causes the fileserver
to throw an error as it tries to combine file_roots from the repo and
pytest-salt-factories.
2025-01-17 15:00:54 -07:00
Barney Sowood
9a327c5919
Convert test_custom grains test to pytest
...
Converts the test_custom grains test from an old style test to a pytest
test. This is just to make it easier for me to debug why it is failing
and needs to be done at some point anyway.
2025-01-17 15:00:54 -07:00
Daniel A. Wozniak
2ca8551615
Skip tests when system python too old
2025-01-17 14:58:38 -07:00
Daniel A. Wozniak
a5b78b55ce
Reduce test flakiness
...
tests/pytests/scenarios/dns/multimaster/test_dns.py::test_multimaster_dns
2025-01-16 16:02:42 -07:00
Twangboy
30e2d9aaf4
Use os.linesep instead of \n
2025-01-16 15:20:27 -07:00
Twangboy
786db9bbbb
Remove ownership check as ownership is not inherited
2025-01-16 14:47:18 -07:00
Twangboy
1798cfa247
Use DefaultAccount instead of Administrator
2025-01-16 10:20:35 -07:00
Daniel A. Wozniak
805d10969a
Rocky 8 container does not have full systemd
2025-01-15 19:16:42 -07:00
twangboy
f22c6cabc0
Try setting PSModulePath in cmd.script
2025-01-15 16:15:41 -07:00
twangboy
a633493f4c
Fix pre-commit
2025-01-15 16:15:41 -07:00
twangboy
4eca31c2f1
Clear PSModulePath environment variable
2025-01-15 16:15:41 -07:00
Twangboy
a98b9cb138
Check for failed ping on Windows
2025-01-15 15:59:21 -07:00
Twangboy
169f0fda2f
Change expected output for Windows
2025-01-15 15:05:51 -07:00
Twangboy
93acf2ee36
Fix pre-commit
2025-01-15 14:34:00 -07:00
Twangboy
5ff2c7e2a2
User temp_account instead of Administrator for testing
2025-01-15 14:34:00 -07:00
Twangboy
4e03997e27
Test with temp user instead of Administrators
2025-01-15 14:33:43 -07:00
twangboy
65ba161cd8
Create test user and test lowercase
2025-01-14 14:05:14 -07:00
twangboy
6756f8897c
Fix import
2025-01-14 14:04:41 -07:00
twangboy
b7385b0e28
Add test user to check
2025-01-14 14:04:41 -07:00
Daniel A. Wozniak
69c11b5f5c
Fix virt tests
2025-01-14 10:08:00 -07:00
Barney Sowood
19b0db156f
Make systemctl/hostctl check functions check they're on linux
2025-01-12 22:35:40 -07:00
Daniel A. Wozniak
277b24e4a1
Show free memory and test fix
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
ee33df82eb
Multiple test fixes
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
faecc6d48c
Unit test fix and artifact name correction
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
718654ae21
Fix timezone and locale tests on photon
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
78e06fdb42
test fix
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
6f7b448591
Fix pkg tests on debian containers
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
8909607ab9
Fix tests on amazonlinux-2 container
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
c7220f13b9
Fix pkg test when no souces.list exists
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
05f9bcae18
Skip tests when hostnamectl does not work
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
90d5bd27a8
Allow test to pass when ping is blocked
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
2571387f27
Attempt to fix ping tests
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
b368da74f0
Fix pkg tests on photon
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
c4fe0391c4
Fix is_bin_file filter test on debian
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
d9bfbee860
Fix runas test by adding cwd
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
9bb624db5a
Fix pre-commit
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
1fb68df156
Split then join with spaces
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
b8a19d13dd
Fix downgrade url for windows and mac
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
99b1b92306
Use file isntead of ls since ls is sometimes a script
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
f8b91f3978
use site packages to avoid missing dependencies in test venv
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
33f2813ce5
Start with original file perms
2025-01-11 15:25:01 -07:00
Daniel A. Wozniak
88742398d4
Legacy repo has been archived
2025-01-11 15:25:01 -07:00
ScriptAutomate
6a01d02269
Update various out-dated links, emails, etc.
2025-01-11 15:25:01 -07:00