salt/tests/unit/fileserver
Erik Johnson 3e96225210
Use one salt.utils.gitfs.GitFS instance per thread
This reduces some of the overhead caused by many concurrent fileclient
requests from minions.

Additionally, initializing remotes has been folded into the GitBase
class' dunder init. Instantiating an instance and initializing its
remotes were initially split so that an object could simply be created
with the master opts so that the configuration was loaded and nothing
else, allowing for certain cases (like clearing the cache files) where
we didn't need to actually initialize the remotes. But this both A)
presents a problem when the instance being used is a singleton, as you
don't want to be re-initializing the remotes all the time, and B)
suppressing initialization can be (and is now being) done via a new
argument to the dunder init.
2017-10-16 15:25:29 -05:00
..
__init__.py Fix pylint of develop (#35002) 2016-07-27 15:18:29 -06:00
test_fileclient.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_gitfs.py Use one salt.utils.gitfs.GitFS instance per thread 2017-10-16 15:25:29 -05:00
test_map.py Move whatever we need from salttesting to salt. 2017-02-28 22:52:49 +00:00
test_roots.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00