HomePhorge

Fix unit test failure in fileserver due to modules
95b75e120dc4Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Fix unit test failure in fileserver due to modules

This test is setting modulepath, and then testing that it can find
modules from the modulepath. However, the recent change to module find
causing it to read from the cached list of modules requires the cache be
cleared after changing the modulepath in order for the modules to be
found.

Also, the structure of the test changed a bit because we have to put the
modules on disk, THEN refresh the cache, THEN we can find them, rather
than putting them on disk and immediately finding them.

Details

Provenance
Nick Lewis <nick@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU511df24c9a41: Merge pull request #753 from nicklewis/type-loader-performance
Branches
Unknown
Tags
Unknown

Event Timeline

Nick Lewis <nick@puppetlabs.com> committed rPU95b75e120dc4: Fix unit test failure in fileserver due to modules (authored by Nick Lewis <nick@puppetlabs.com>).May 12 2012, 1:08 AM