Commit graph

118562 commits

Author SHA1 Message Date
Daniel A. Wozniak
096314341f Add changelog 2023-10-31 07:55:54 +00:00
Daniel A. Wozniak
ae1bf35ce8 Add test coverage 2023-10-31 07:55:54 +00:00
Daniel A. Wozniak
8a872eff08 Preserve futures with messages
This also make the message client behave more like it does after having
been refactored to use native asyncio coroutines.
2023-10-31 07:55:54 +00:00
Daniel A. Wozniak
f6ad1a5f94 Fix timeout test 2023-10-31 07:55:54 +00:00
Daniel A. Wozniak
529d27061e Use closure to preserve message future 2023-10-31 07:55:54 +00:00
Daniel A. Wozniak
84d58f717b Do not allow duplicate message ids 2023-10-31 07:55:54 +00:00
Pedro Algarvio
5d1458287a
Merge pull request #65482 from s0undt3ch/hotfix/3006.x-fixes
[3006.x] Merge v3005.4 and v3006.4 into 3006.x
2023-10-29 16:35:04 +00:00
Pedro Algarvio
e46e33ab9d
Remove unused variable
Added while resolving conflicts from merge forward

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-29 11:03:09 +00:00
Pedro Algarvio
be3d892fc9
Remove docker from requirements/static/ci/common.in
It was wrongly added whew resolving conflicts while merging forward

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-29 11:00:57 +00:00
Pedro Algarvio
a6ea97f46c
Merge v3005.4 into 3006.x 2023-10-29 09:31:08 +00:00
Pedro Algarvio
16dce0b4cc
Merge v3006.4 into 3006.x 2023-10-29 09:24:34 +00:00
David Murphy
9194800ddb Added pytests for logging 2023-10-27 10:52:10 +01:00
David Murphy
66d9c33db7 Fixed up imports as per reviewer comments 2023-10-27 09:06:45 +01:00
David Murphy
cb1ca7ca46 Updated test 2023-10-27 09:06:45 +01:00
David Murphy
b58ee63a15 Updated test per reviewer comments 2023-10-27 09:06:45 +01:00
David Murphy
8395346ab5 Altered test 2023-10-27 09:06:45 +01:00
David Murphy
b90db6c949 Updated test to check ufw executable is installed before running the test 2023-10-27 09:06:45 +01:00
David Murphy
831f982f6f Updated ufw tests to check for Salt 2023-10-27 09:06:45 +01:00
David Murphy
11d5c5c168 Updated test 2023-10-27 09:06:45 +01:00
David Murphy
d683fade39 Updated salt-master install and test for ufw 2023-10-27 09:06:45 +01:00
David Murphy
81d6e422db Removed missed debug statements 2023-10-27 09:06:45 +01:00
David Murphy
5232ddfbbe Revised the salt ufw test 2023-10-27 09:06:45 +01:00
David Murphy
ea30d46e4a Updated package test 2023-10-27 09:06:45 +01:00
David Murphy
51a4a3ba5b WIP packaging test for salt.ufw 2023-10-27 09:06:45 +01:00
David Murphy
1941ebe28e Move salt.ufw to correct location /etc/ufw/applications.d/ 2023-10-27 09:06:45 +01:00
David Murphy
c6e8fa3b17 Converted global constants to pytest fixtures per reviewer comments 2023-10-27 09:04:47 +01:00
David Murphy
e919e8f63e Updated asserts and limit testing to Linux only 2023-10-27 09:04:47 +01:00
David Murphy
3c4aa715ba Updated tests with tablespace alter tests 2023-10-27 09:04:47 +01:00
David Murphy
7714b22f07 Updates tests for tablespace_list, tablespace_exists and tablespace_remove 2023-10-27 09:04:47 +01:00
David Murphy
0963209cc3 Migrated test_deb_postgre.py to pytests 2023-10-27 09:04:47 +01:00
David Murphy
4dbd8caec2 Further update to test per reviewer comment 2023-10-27 09:04:47 +01:00
David Murphy
d2481582f4 Updated test per reviewer suggestion 2023-10-27 09:04:47 +01:00
David Murphy
452f6bdf85 Added tablespace_create test 2023-10-27 09:04:47 +01:00
David Murphy
a919a3ea87 Initial port of test/unit/module/test_postgres.py to pytests 2023-10-27 09:04:47 +01:00
Thomas Phipps
38725e27d7 revert the destroy, and use s0undt3chs advise 2023-10-25 16:35:08 +01:00
Thomas Phipps
841486c976 add code coverage for salt/payload.py 2023-10-25 16:35:08 +01:00
Pedro Algarvio
6cb08d68b4 Fix test groups issue when re-running test failures
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-25 16:19:02 +01:00
Pedro Algarvio
bb86351eca Fix variable name
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-24 15:27:09 -07:00
Pedro Algarvio
468e6b5763 Avoid having to resolve DNS for a unittest
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-24 15:27:09 -07:00
Pedro Algarvio
58564f5882 Skip test that hangs on PhotonOS 3
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-24 15:27:09 -07:00
David Murphy
9a3b2bd316 Added pragma no cover since fundamental import 2023-10-24 15:05:11 -07:00
twangboy
1e976cf735 Fix lint 2023-10-24 14:59:53 -07:00
twangboy
636eff5fda Add changelog 2023-10-24 14:59:53 -07:00
twangboy
134ea53a43 Fix issue when policy dirs are missing 2023-10-24 14:59:53 -07:00
Pedro Algarvio
84d6c962f6 Something changes on GH's Mac's, switch package name
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-10-24 21:05:28 +01:00
David Murphy
f5e4c1b886 Update tests/pytests/integration/client/test_runner.py
Co-authored-by: Megan Wilhite <mwilhite@vmware.com>
2023-10-23 16:26:51 +01:00
David Murphy
5765a8b4f6 Remove left-over logging from debugging 2023-10-23 16:26:51 +01:00
David Murphy
2dd3c8cd0c Increase code coverare for salt/client/mixins.py 2023-10-23 16:26:51 +01:00
David Murphy
28cc894fbe Update tests to reflect review comments 2023-10-21 19:49:07 +01:00
David Murphy
91e538544a Reverted sync_all refresh setting from True to False (current value in branch) 2023-10-21 19:49:07 +01:00