Commit graph

115302 commits

Author SHA1 Message Date
Twangboy
a3619a41fb Add changelog and test case 2022-11-22 08:43:03 -07:00
Twangboy
2e467c16e8 Show installer command in debug log 2022-11-22 08:43:03 -07:00
Frode Gundersen
bd2c180753 migrate test_apache to pytest 2022-11-21 13:40:54 -07:00
Megan Wilhite
762b3ab21e
Merge pull request #62717 from nicholasmhughes/add-global-state-conditions
Add global_state_conditions handling
2022-11-21 12:42:51 -07:00
Frode Gundersen
a44261f9ec migrate test_acme to pytest 2022-11-21 12:26:32 -07:00
Gareth J. Greenaway
d34e4396b4
Merge pull request #62136 from ipaqmaster/ipaqmaster-archlinux-zone_compare
Add exception for Arch in timezone zone_compare
2022-11-21 06:54:26 -08:00
Nicholas Hughes
01cd8f2d73
Merge branch 'master' into add-global-state-conditions 2022-11-21 09:12:02 -05:00
nicholasmhughes
ec64c6f59d
refactor to fix macos tests 2022-11-21 09:11:18 -05:00
MKLeb
021c44f3ba Migrate btrfs module unit test and add one for subvolume_snapshot 2022-11-18 15:12:47 -05:00
Antoine Marcotte
7a00e5c205 fix btrfs subvolume snapshot 2022-11-18 15:12:47 -05:00
Gino Naumann
1b719d7c9c Add changelog for 63058 2022-11-18 12:53:02 -07:00
Gino Naumann
746af307d9 Add testcases for mongo ext_pillar and returner 2022-11-18 12:53:02 -07:00
Gino Naumann
db50e0c3b9 Remove depr. pymongo function from mongo returner 2022-11-18 12:53:02 -07:00
Gino Naumann
a6caf57b1c Add mongo.uri to docs 2022-11-18 12:53:02 -07:00
Gino Naumann
5e9aebbb1b Add mongo.uri to mongo ext_pillar and remove depr. pymongo function 2022-11-18 12:53:02 -07:00
Pedro Algarvio
6bb1220ca2 Don't try to collect tests in tests/unit/modules/inspectlib/tree_test/
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-11-18 12:36:51 -07:00
Pedro Algarvio
2b440c6594 Add missing skips
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-11-18 12:36:51 -07:00
Pedro Algarvio
1b18b4e5ab Use the minion_opts and master_opts fixtures instead.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-11-18 12:36:51 -07:00
Pedro Algarvio
673143e702 Add master_opts fixture under tests/pytests/unit
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-11-18 12:36:51 -07:00
Pedro Algarvio
c1558ae7e7 minion_opts fixture is now available for all tests under tests/pytests/unit
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-11-18 12:36:51 -07:00
Pedro Algarvio
413a6ef633 Don't need to be root to run these tests
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-11-18 12:36:51 -07:00
Gareth J. Greenaway
85fab706c9 Need to move the creation of the proxy object for the ProxyMinion further down in the initialization for sub proxies to ensure that all modules, especially any custom proxy modules, are available before attempting to run the init function. 2022-11-18 12:33:16 -07:00
MKLeb
8a62217866 Add tests and a changelog 2022-11-18 12:32:10 -07:00
Roel van Meer
8a647033a8 cmdmod.py: Don't reset output vars inside loop
The stdout and stderr variables are used to collect the output of
the command. These should not be reset inside the loop, because then the
output that was already collected gets lost.

Fixes: 60365
2022-11-18 12:32:10 -07:00
MKLeb
ad2b54e337 Add tests and a changelog 2022-11-18 12:31:49 -07:00
Raymond Wagenmaker
700274b475 openbsdrcctl_service: prevent spurious errors
Non-zero retcode is expected (to signal "service not running", for
example); this should not be logged as an error.
2022-11-18 12:31:49 -07:00
Megan Wilhite
1a3e3b81fb Only run tests if ipset binary is available 2022-11-18 09:43:09 -07:00
Megan Wilhite
09066ee170 Fix ipset state when the comment kwarg is set. 2022-11-18 09:43:09 -07:00
Megan Wilhite
705c442d6e
Fix timezone test 2022-11-17 14:46:08 -07:00
MKLeb
e0e4d56159 clean up tag map memory leak and add a mem leak regression test 2022-11-17 14:07:36 -07:00
MKLeb
34ddaa646b Remove check for if request is finished in EventListener.get_event since websockets finish early 2022-11-17 14:07:36 -07:00
Megan Wilhite
7d0c77409b
Merge pull request #57222 from alexey-zhukovin/master-port-49310
Port #49310 to master
2022-11-16 12:38:14 -07:00
Megan Wilhite
c678a1bb85
Merge pull request #62019 from meaksh/master-fix-issue-targeting-duplicated-package-names
Make Salt to return an error on "pkg" modules and states when targeting duplicated package names
2022-11-16 12:36:07 -07:00
Twangboy
239bb06342 Fix some lint 2022-11-16 12:29:37 -07:00
Twangboy
3cf602cd8a Add changelog, comment mock in test 2022-11-16 12:29:37 -07:00
Twangboy
c0c8241bb4 Make Client context manager, add test 2022-11-16 12:29:37 -07:00
Twangboy
a7bca34a67 Cleanup PAexec on disconnect 2022-11-16 12:29:37 -07:00
Wayne Werner
a4b77df943 add changelog 2022-11-16 12:29:06 -07:00
Wayne Werner
a2e2b796e5 Converted unittest to pytest.
While we were at it we did a little bit of refactoring.
2022-11-16 12:29:06 -07:00
Wayne Werner
fca842b071 move unittest to pytest 2022-11-16 12:29:06 -07:00
Wayne Werner
b6083303a4 remove test_tls.py to keep history 2022-11-16 12:29:06 -07:00
Wayne Werner
b800771261 Fix unit tests with misplaced periods 2022-11-16 12:29:06 -07:00
Wayne Werner
458f2e1858 SQUASHME 2022-11-16 12:29:06 -07:00
Wayne Werner
8fccce0880 Fix misplaced periods in tls
When giving something like "/path/to/some/file.crt" it's incorrect to
say "/path/to/some/file.crt." if the extension is not actually `.crt.`,
but `.crt`.

This fixes all of that in the tls module.
2022-11-16 12:29:06 -07:00
Pedro Algarvio
0f7f8b28e7 Revert back to coverage==5.2.
The newer versions were causing the CI test runs to consume all of the
memory, and running out of it.

Fixes https://github.com/saltstack/salt/issues/62989

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-11-16 15:26:32 +00:00
Megan Wilhite
ffdf263735
Merge pull request #63059 from leifliddy/gpg_example
modify gpg.encrypt example
2022-11-15 14:11:44 -07:00
Megan Wilhite
88c5c75ef5
Merge pull request #57435 from terminalmage/bp-51203
Port #51203 to master
2022-11-15 13:57:05 -07:00
Megan Wilhite
d5200469ac
Merge pull request #62897 from garethgreenaway/deltaproxy_concurrent_experiment
Deltaproxy concurrent
2022-11-15 13:56:32 -07:00
Twangboy
87ac8341e5 Add comment to base.txt that we need contextvars 2022-11-15 13:37:56 -07:00
Twangboy
6f36008ad6
Fix pre-commit 2022-11-14 13:28:09 -07:00