Commit graph

23219 commits

Author SHA1 Message Date
David Murphy
d5b31df509
User responsible for the runner is now correctly reported in the events on the event bus for the runner. 2023-04-10 11:49:42 -06:00
Megan Wilhite
1619cbc448 Add test coverage to ensure fileclient closes channel 2023-04-07 13:23:39 +00:00
Megan Wilhite
62966ec126 Fix salt-ssh closing client connection and add defaults functional test 2023-04-07 13:23:39 +00:00
Megan Wilhite
e4b1ca3e30 Fix pyobjects test on windows 2023-04-07 13:23:39 +00:00
Megan Wilhite
e29485eddb Add more test coverage and fix previous failing tests 2023-04-07 13:23:39 +00:00
Megan Wilhite
834337373c Do not use __del__ in fileclient 2023-04-07 13:23:39 +00:00
MKLeb
af852710e9 Skip when the state fails and use the cumulative totals when comparing 2023-04-07 13:15:07 +00:00
MKLeb
0f2bfbe104 Make performance test less flaky 2023-04-07 13:15:07 +00:00
Frode Gundersen
70922d72db migrate test_hashutil to pytest 2023-04-04 18:56:22 +01:00
Frode Gundersen
5aa89c01e9 migrate test_drbd to pytest 2023-04-04 18:50:17 +01:00
Frode Gundersen
9864347cac migrate unit_states_test_helm to pytest 2023-04-04 18:44:10 +01:00
Frode Gundersen
56cb0860ef migrate unit_states_test_hg to pytest 2023-04-04 18:43:13 +01:00
Frode Gundersen
40f58a543b Update test_ini_manage.py 2023-04-04 18:37:10 +01:00
Frode Gundersen
de536eeb84 migrate unit_states_test_ini_manage to pytest 2023-04-04 18:37:10 +01:00
Frode Gundersen
f7c2f356db migrate unit_states_test_ipmi to pytest 2023-04-04 18:34:58 +01:00
Frode Gundersen
72e4c2b5f9 migrate unit_states_test_kapacitor to pytest 2023-04-04 18:30:38 +01:00
Frode Gundersen
2da936c9b4 migrate unit_states_test_keystone to pytest 2023-04-04 18:29:36 +01:00
Frode Gundersen
556825da2d migrate unit_states_test_kernelpkg to pytest 2023-04-04 08:57:12 +01:00
Frode Gundersen
4732b9b61c migrate unit_states_test_kernelpkg to pytest 2023-04-04 08:57:12 +01:00
Frode Gundersen
6d9eeedb30 migrate unit_states_test_keystore to pytest 2023-04-04 08:56:03 +01:00
Frode Gundersen
8ae014461c migrate unit_states_test_net_napalm_yang to pytest 2023-04-04 08:50:15 +01:00
Frode Gundersen
467f966308 migrate modules_test_status to pytest 2023-04-04 08:49:04 +01:00
Joe Groocock
94425e72d9 Skip cassandra_cql tests when driver isn't loaded
Prevents the following failures when the `cassandra` package isn't
installed:

    FAILED tests/pytests/unit/modules/test_cassandra_cql.py::test_cql_query - NameError: name 'dict_factory' is not defined
    FAILED tests/pytests/unit/modules/test_cassandra_cql.py::test_cql_query_with_prepare - NameError: name 'dict_factory' is not defined
    FAILED tests/pytests/unit/modules/test_cassandra_cql.py::test_valid_asynchronous_args - NameError: name 'dict_factory' is not defined
    FAILED tests/pytests/unit/modules/test_cassandra_cql.py::test_valid_async_args - NameError: name 'dict_factory' is not defined

Signed-off-by: Joe Groocock <jgroocock@cloudflare.com>
2023-04-04 08:47:10 +01:00
Frode Gundersen
c6921717ec migrate unit_modules_test_win_iis to pytest 2023-04-04 08:46:09 +01:00
Frode Gundersen
133ccae9cd migrate unit_modules_test_win_licence to pytest 2023-04-04 08:43:11 +01:00
Frode Gundersen
f3f398e49f migrate unit_modules_test_win_powercfg to pytest 2023-04-04 08:41:33 +01:00
Frode Gundersen
ea04be1c66 migrate unit_modules_test_win_psget to pytest 2023-04-04 08:40:13 +01:00
Frode Gundersen
df270719c0 migrate unit_modules_test_win_shadow to pytest 2023-04-04 08:37:46 +01:00
Twangboy
6bc8fe8111 Fix some lint and pre-commit 2023-04-01 09:30:03 +01:00
Twangboy
7978b9117d Return Not Found when service is missing 2023-04-01 09:30:03 +01:00
Twangboy
b8e6fcbeea Fix failing test 2023-03-30 20:00:55 +01:00
Twangboy
2418a8504f Use relenv OpenSSL 2023-03-30 20:00:55 +01:00
Gareth J. Greenaway
e95c9f9005
Merge pull request #63990 from twangboy/fix_63981
[3006.x] Fix 63981 - Support verify_ssl in pkg.install
2023-03-28 21:19:10 -07:00
Gareth J. Greenaway
7e54d714cb
Merge pull request #63970 from garethgreenaway/63948_file_state_check_cmd_fixes
[3006.x] Fixes to state check_cmd
2023-03-28 15:57:57 -07:00
Twangboy
a20ca9b602
Add test 2023-03-28 14:51:17 -06:00
Twangboy
f04483c42e
Skip test on non-windows systems 2023-03-28 09:53:11 -06:00
Twangboy
2382af85f5
Remove old test 2023-03-28 09:53:11 -06:00
Twangboy
0e642e1e05
Fix issue with delete_after 2023-03-28 09:53:10 -06:00
Gareth J. Greenaway
04741e1881
Merge pull request #63949 from twangboy/fix_win_pkg
Fix issues with win_pkg.py
2023-03-27 18:19:05 -07:00
Gareth J. Greenaway
01e7fb19ca
Actually add the changes. 2023-03-27 14:42:19 -07:00
Gareth J. Greenaway
c8f79910de
Merge pull request #63938 from MKLeb/auto-test/windows-reauth
Auto reauth test
2023-03-27 14:33:29 -07:00
MKLeb
e04a1b8450
switch back to threading 2023-03-27 15:09:59 -04:00
Twangboy
932d890b72
Fix pre-commit 2023-03-27 12:17:02 -06:00
Twangboy
fdc122d7c0
Add tests for using LooseVersion 2023-03-27 12:17:01 -06:00
Twangboy
ebac4a8522
Use LooseVersion instead of Version 2023-03-27 12:17:00 -06:00
Gareth J. Greenaway
713e4fc6c4 Ensure kwargs is passed along to _call_apt when passed into install function. 2023-03-27 18:07:38 +00:00
Pedro Algarvio
93f06bbb2a Remaining test fixes regarding the recent GitHub RSA key change
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-03-27 18:01:10 +00:00
MKLeb
666003d3c7
make the target function not nested for windows 2023-03-27 13:26:57 -04:00
Gareth J. Greenaway
ddac7de21a Updating keys in known hosts file. 2023-03-25 11:24:49 +00:00
Gareth J. Greenaway
46f96a642e Updating the github.com fingerprint. 2023-03-25 11:24:49 +00:00