76c9017ea2
Facter.clear clears all cached values and removes all facts from memory
where Facter.flush just clears the cached values. This should reduce the
time it takes to actually run the unit tests as it all the other facts
we're touching won't be removed from memory.
Also we only need to do it before the tests, not before and after.
Change-Id: I9a24dc9f74cb3b59508b12e63a078068c26c1442
(cherry picked from commit
|
||
---|---|---|
.. | ||
facter | ||
provider | ||
puppet/util | ||
type |