Tyler Levy Conde
|
c1b8d81282
|
Add tests for state compiler aggregation
|
2024-06-07 22:07:43 -07:00 |
|
Daniel Wozniak
|
e6ad2cc4db
|
Merge pull request #66619 from dwoz/test_fix
[3006.x] Make windows pkg builds more reliable
|
2024-06-05 15:07:48 -07:00 |
|
Daniel Wozniak
|
e6bba0ddba
|
Merge branch '3006.x' into test_fix
|
2024-06-05 15:07:11 -07:00 |
|
David Murphy
|
c7e18526f6
|
Trying Windows fix, removing $() on env:TEMP
|
2024-06-05 14:47:29 -07:00 |
|
David Murphy
|
00c45646d3
|
Fix nightly build test missed in PR 65937
|
2024-06-05 14:47:29 -07:00 |
|
Daniel A. Wozniak
|
e74ba6f802
|
Make windows pkg builds more reliable
|
2024-06-05 01:21:26 -07:00 |
|
David Murphy
|
332379d06a
|
Removed debugging statements
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
9bb92ed23d
|
Revised finalization of processes
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
8198500f51
|
Saving debug info for proc and psutil processes which shows difference - psutil.process(pid) doesn't give register function
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
01a44b41f8
|
Added debugging info
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
eb07f58277
|
Added debugging
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
81e39a3042
|
Refractor after review
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
af5a485793
|
Updates after reviewer comments
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
55fa8cee80
|
Cleanup debug logging
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
7b40bdd4f9
|
Fix typo in assert check
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
b9203f80db
|
Add allowance for machine identifier for recent test
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
56f3cbeff8
|
Removed circular dependency on salt.utils.files.fopen
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
5910c162d7
|
Some clean up of old code
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
f4d1e2ee49
|
Fix typo
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
f7366267ab
|
WIP Initial testing refactor
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
848c7ad5bf
|
Moved get_machine_identifier to salt utils platfrom as per reviewers request
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
fcbb59cf17
|
Updates due to reviewer comments
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
4a838b3ade
|
Changes due to reviewer comments
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
17fb9f6c31
|
Reworded error message for better English
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
9d5975f64e
|
Ensure SIGTERM tests etc only run on Linux
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
20854d6366
|
Allow some time for processes to get started after processmanager.run() command
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
b2c2c5a9cd
|
Moved code under with caplog set to DEBUG to ensure all tests correct
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
152811fcc6
|
Altered procmgr.run to run asynchronously
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
6a2fb70d59
|
Updated tests to release lock with try/except/finally
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
8fb0127f99
|
Allow for machine_id key when getting the machine_identifier
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
0de790cd28
|
Ensured use of get_machine_identifier from salt.utils.files for identifying a machine id
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
f98b7073cd
|
Moved location for finding machine_id to salt utils files, and had grains import from there
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
37164221e5
|
Removed commented out debug code
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
21cf213b10
|
Cleaned up tests and removal of debug statements
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
695353ee91
|
Updated to use grains/core.py get_machine_id for machine identifier
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
c982cbdb3e
|
Updated SIGTERM test, and additional tests, and cleanup
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
2265376154
|
Working test for SIGTERM of held lock
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
56a11ba9d1
|
WIP Test for kill SIGTERM
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
443fdd3e34
|
WIP - Test kill cleanup of resources
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
ee55b9abe3
|
Initial SIGTERM testing
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
9c80258c0c
|
Tests for gen_lock functionality
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
f832181ee3
|
Testing additional test
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
ec549d6a06
|
Working tests ported from unittest to pytest
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
3d2c111f58
|
[WIP] Almost working port from unit test to pytest, contains debugging
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
40d5a253fe
|
Initial port from unittest to pytest of unit/utils/test_gitfs.py to test_gitfs_locks.py
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
1b6e964244
|
Updated format to f-string, and adjusted error messages to match tests
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
2a532aa2a3
|
Fix missing typo f-string
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
0ba93f829c
|
Fix up use of get_machine_identifer
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
0206162c2d
|
Moved get_machine_identifier temporiarly till sorted where it will be and what
|
2024-06-03 12:24:11 -07:00 |
|
David Murphy
|
563556eade
|
Updated gitfs tests for machine identifier
|
2024-06-03 12:24:11 -07:00 |
|