1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/units/plugins
Zhikang Zhang 0971a342d8
Solve race condition in password lookup (#42529)
NOTE:
1. use os.open() with os.O_CREAT|os.O_EXCL to check existence
and create a lock file if not exists, it's an atomic operation
2. the fastest process will create the lock file and others will
wait until the lock file is removed
3. after the writer finished writing to the password file, all the reading
operations use built-in open so processes can read the file parallel
2018-08-15 15:10:52 -04:00
..
action Fix remote_tmp when become with non admin user (#42396) 2018-07-06 10:49:19 -07:00
cache Disable abstract-class-instantiated for smoketests 2017-07-25 15:58:23 -07:00
callback fix minor issues with debug and item labels (#41331) 2018-06-21 16:14:57 -04:00
cliconf new nos_command module (#43056) 2018-08-10 13:50:02 -07:00
connection Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00
filter Adds an ipmath filter (#41985) 2018-07-11 10:52:31 -07:00
inventory Fix inventory plugin cache + add tests (#38229) 2018-05-24 15:34:54 -04:00
loader_fixtures Don't cache duplicate plugin names (#34420) 2018-01-04 16:47:23 -06:00
lookup Solve race condition in password lookup (#42529) 2018-08-15 15:10:52 -04:00
shell Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
strategy Fix inserting noop tasks by using active state (#36056) 2018-06-06 12:34:25 +02:00
terminal Adding slx_command module and supporting module_utils. (#38235) 2018-04-11 12:59:34 +01:00
vars Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
__init__.py Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
test_plugins.py Don't cache duplicate plugin names (#34420) 2018-01-04 16:47:23 -06:00