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
Daniel A. Wozniak
aaec5957bb
Fix circular imports in tests
2024-02-15 15:08:17 -07:00
Daniel A. Wozniak
1e90161d09
Add tests to validate fileclient re-use
2024-02-15 15:08:17 -07:00
Daniel A. Wozniak
8b10022702
Use compare_digest when validateing hmac disgests
2024-02-15 10:11:21 -07:00
Thomas Phipps
b27ae54c12
fix tests/pytests/functional/cli/test_batch.py::test_batch_issue_56273
2024-02-14 14:30:00 -07:00
Daniel A. Wozniak
da31638f0a
Add test for return fix
2024-02-14 14:30:00 -07:00
Shane Lee
8957046268
Make Photon 3 & 4 tests like Photon 5
2024-02-14 14:24:38 -07:00
Shane Lee
0021cb870d
Fix the spec file for RPMs
...
Looked up the actual code for the macros being replaced
Made sure we're doing the proper if statements
Cleaned up the tests a little
2024-02-14 14:24:38 -07:00
Shane Lee
0917a5abf7
Update pkg upgrade/downgrade tests to check pids
2024-02-14 14:24:38 -07:00
Pedro Algarvio
68c6fd4fba
Increase timeouts on problematic tests
2024-02-14 14:22:06 -07:00
Pedro Algarvio
0878b59797
Increase timeouts on problematic tests
2024-02-14 01:00:35 -07:00
Daniel A. Wozniak
5150b7f726
Fix line endings in auth_v1 test key
2024-02-14 00:49:27 -07:00
Skyler Hawthorne
37587fbd8a
skip tests on fips
...
tests fail on fips enabled platforms due to md5 being disallowed by
default
2024-02-13 21:38:54 +00:00
Skyler Hawthorne
3703fc5291
fix incorrect hash type result in s3fs
...
The s3fs backend is currently computing the incorrect hash type. The
default hashing algorithm was changed from md5 to sha256. The s3 backend
calls the hashing function without specifying the hash algorithm,
and then hardcodes the result's hash type to md5. After the change to
sha256, this means it was computing a sha256 sum, but saying it was md5.
In turn, it would compute the sha256 sum of the existing target file
and compare it to the cached file's md5, which would obviously always
be different.
This causes downstream effects, such as test mode always reporting a
change, even when there isn't one.
Fixes #65589
2024-02-13 21:38:54 +00:00
Erik Johnson
c3cb87adba
Don't monkeypatch the fixture contents
2024-02-09 16:11:27 +00:00
Erik Johnson
85130a3d32
Fix tests
2024-02-09 16:11:27 +00:00
Erik Johnson
b223b135f9
Rename test functions to specify that they are testing FSClient
...
The original draft of these tests was class-based, with the class name
describing that the tests were for FSClient. With the class removed,
this should be in the test name.
2024-02-09 16:11:27 +00:00
Pedro Algarvio
063adf0493
Switch to existing test fixtures
2024-02-09 16:11:27 +00:00
Erik Johnson
f25bbaf744
Move tests to pytests dir and reformat them
2024-02-09 16:11:27 +00:00
Erik Johnson
61f8425d24
_get_defaults can be a staticmethod
2024-02-09 16:11:27 +00:00
Erik Johnson
5e6d23138b
Rename test
2024-02-09 16:11:27 +00:00
Erik Johnson
adb9397bd6
Don't needlessly refresh fileserver backends during Pillar rendering
...
This uses the opts key that masterless runs use to limit fileserver
backend refreshes to a single refresh. Adding it to the master opts
ensures that FSChan instances created on the master do not trigger
fileserver backend refreshes.
2024-02-09 16:11:27 +00:00
Pedro Algarvio
beb2c6d7b4
Some more test timeout updates
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-02-08 21:44:04 +00:00
Pedro Algarvio
df6ed810fe
Move non functional test to integration tests
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2024-02-08 21:44:04 +00:00