HomePhorge

maint: Fix order dependent test failure
2f8bc2688ee5Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

maint: Fix order dependent test failure

When running spec/unit/network/rights_spec.rb prior to
spec/unit/network/authstore_spec.rb, test failures occur due to the
AuthStore storing Declarations in current thread state. This is a
temporary fix (explicitly clearing thread state for each test run) until
the AuthStore can be modified to not rely on thread state. This commit
is a follow up to 9834dcdd.

Paired-with: Jacob Helwig <jacob@puppetlabs.com>

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU9834dcdd8310: Merge branch 'ticket/2.7.x/5966-auth-conf-hostname-regex' into 2.7.x
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPU2f8bc2688ee5: maint: Fix order dependent test failure (authored by Josh Cooper <josh@puppetlabs.com>).May 31 2011, 7:34 PM