Merge pull request #7130 from bluetech/cacheprovider-nf-set

cacheprovider: speed up NFPlugin when --nf is not enabled
This commit is contained in:
Ran Benita
2020-04-29 17:28:20 +03:00
committed by GitHub
2 changed files with 6 additions and 8 deletions

View File

@@ -74,7 +74,7 @@ class TestNewAPI:
"*/cacheprovider.py:*",
" */cacheprovider.py:*: PytestCacheWarning: could not create cache path "
"{}/v/cache/nodeids".format(cache_dir),
' config.cache.set("cache/nodeids", self.cached_nodeids)',
' config.cache.set("cache/nodeids", sorted(self.cached_nodeids))',
"*1 failed, 3 warnings in*",
]
)