MKLeb
9dc95bec19
Default to a 0 timeout if none is given in the terraform roster
2023-05-01 18:16:13 -07:00
Twangboy
3448a6c990
Add support for test=True to file.cached
2023-04-29 09:18:30 +01:00
Gareth J. Greenaway
34f2ed4b4e
Check that the return data from the cloud create function is a dictionary before attempting to pull values out.
2023-04-29 09:15:52 +01:00
Pedro Algarvio
6766db4114
Add test case to assert that salt.client.ssh.SSH.fsclient.destroy()
is called.
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-28 14:35:17 +00:00
Pedro Algarvio
c33b56281b
Merge 3006.x into master
...
Conflicts:
* doc/ref/configuration/minion.rst
2023-04-28 10:20:04 +01:00
Pedro Algarvio
2e3f98a95c
Add unit test to validate logic on calls to destroy()
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-28 06:24:27 +01:00
Pedro Algarvio
c94b36c441
Don't cache the file client at the class level
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-28 06:24:27 +01:00
Daniel A. Wozniak
3962fcd281
Add regression test for #64111
...
Test importing jinja files
2023-04-28 06:24:27 +01:00
Pedro Algarvio
13d571807c
Add regression test for https://github.com/saltstack/salt/issues/64118
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-27 20:58:18 -07:00
Pedro Algarvio
7f2650ae37
Drop **kwargs
usage and be explicit about the supported keyword arguments.
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-27 20:58:18 -07:00
Twangboy
54be72064d
Don't fail when registry.pol missing
2023-04-27 09:28:25 +01:00
Twangboy
4d52af1336
Join masters if it is a list
2023-04-27 09:25:45 +01:00
nicholasmhughes
98ecf8d45c
fixes saltstack/salt#64150 cmd.run doesn't output changes in test mode
2023-04-27 09:20:59 +01:00
David Murphy
e25da80c7e
Test to check for passing of dunder globals outside of execution modules
2023-04-26 09:50:47 -07:00
David Murphy
b78d771454
Updated test
2023-04-26 09:50:47 -07:00
Thomas Phipps
196023a086
fix #64082
2023-04-26 13:03:55 +01:00
Charles McMarrow
f0df597691
Merge branch '3006.x' into pick_nichol_cmd_fix
2023-04-25 21:52:58 -05:00
nicholasmhughes
62e438a4b6
fixes saltstack/salt#64150 cmd.run doesn't output changes in test mode
2023-04-25 21:47:40 -05:00
cmcmarrow
13437829fc
Merge remote-tracking branch 'upstream/3006.x' into merge-forward/3006.x/master
2023-04-20 17:39:55 -05:00
Megan Wilhite
b35db04826
Fix setup.py called with salt args
2023-04-20 13:39:44 +00:00
Pedro Algarvio
672f6586d7
The repo.saltproject.io index.html
file changed it's contents. Fix tests.
...
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-04-19 16:56:12 +01:00
Charles McMarrow
8dc6dd61d2
[3006.x] rebase test labels ( #64053 )
...
* changelog
* add actions
* add tools
* typo
* add some debug
* pulls vs push
* fire on pullr only
* test port part 1
* part 2
* part 3
* part 4
* fix double run slow
* clean up
* update types
* reg workflow
* reg workflow
2023-04-15 18:19:58 -07:00
Megan Wilhite
f98377d666
Patch python binary for pip tests for relenv
2023-04-15 20:49:08 +01:00
Daniel A. Wozniak
405dc757b9
Unit tests for salt-pip
2023-04-13 18:47:11 -07:00
Daniel A. Wozniak
892fbad749
Update test to work with new config option
2023-04-13 12:30:40 +01:00
Daniel A. Wozniak
82f5655487
Restart maintenance process periodically.
...
Unfortunatly pygit2 still has enough memory leaks that we can't use it
in long running processes. Restart the maintenance process peridically
to clean up the memory consumed by pygit, and others.
Add fileserver_interval and maintenance_interval to configure how often
these processes restart.
2023-04-13 12:30:40 +01:00
Shea Craig
6313682379
Handle xattr returning non-UTF-8 bytes.
2023-04-12 19:03:52 -07:00
Thomas Phipps
5d63b36eb5
workers.ipc test pass
2023-04-12 12:31:57 -07:00
Thomas Phipps
bab8090626
add event permissions test
2023-04-12 12:31:57 -07:00
Thomas Phipps
977ce368ba
bad fix
2023-04-12 12:31:57 -07:00
Gareth J. Greenaway
1a2e2c0c98
Initial pass at adding the ability to exclude arguments from a state that end up passed to cmd.retcode when onlyif is used.
2023-04-11 18:24:26 +00:00
Frode Gundersen
942ffed12f
migrate unit_modules_test_win_ip to pytest
2023-04-10 19:52:46 -07:00
Frode Gundersen
a6d984ae52
fix function names
2023-04-10 19:51:32 -07:00
Frode Gundersen
6b9c0e7b74
migrate unit_modules_test_boto_dynamodb to pytest
2023-04-10 19:51:32 -07:00
Frode Gundersen
cb76af04f9
fix function names
2023-04-10 19:50:09 -07:00
Frode Gundersen
56fd3801df
migrate unit_modules_test_win_pki to pytest
2023-04-10 19:50:09 -07:00
Frode Gundersen
f9326e1cf4
migrate unit_modules_test_win_service to pytest
2023-04-10 19:46:41 -07:00
Frode Gundersen
19dd3825c6
migrate unit_modules_test_win_snmp to pytest
2023-04-10 19:46:41 -07:00
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
Nicholas Hughes
125275ffbf
Merge branch 'master' into add-keyvalue-create_if_missing
2023-04-06 06:01:00 -04:00
Derek Schaller
2618bbb5c0
fix unit test and lint
2023-04-05 20:05:20 +00:00
Derek Schaller
fbac15ee92
use shutils / tests
2023-04-05 20:05:20 +00:00
nicholasmhughes
4730bea00b
fixes saltstack/salt#63982 aptpkg.latest_version calls apt-cache too much
2023-04-05 19:15:46 +00:00