HomePhorge

Maint: Switched spec tests to use a class rather than Array as the log…
cf18353472ceUnpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

Maint: Switched spec tests to use a class rather than Array as the log destination.

Using an Array as a log destination is unreliable because Puppet's log
mechanism stores log destinations in a hash whose key is the
destination itself. Since arrays can change their hash when they are
modified, this was causing the log destination hash to become
corrupted, producing sporadic spec test failures.

Details

Provenance
Paul Berry <paul@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUee56cfd01fce: Maint: Improved spec tests
Branches
Unknown
Tags
Unknown

Event Timeline