HomePhorge

maint: fix a race in catalog compilation versioning.
7591de7e4ef2Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

maint: fix a race in catalog compilation versioning.

The implementation has a whole pile of time dependencies in our comparisons,
we had a whole pile of races across the code.

We could try and fix the comparisons to work better, but that is actually
harder than it sounds thanks to the architecture.

Instead, freeze time for each test, ensuring that we consistently get the
result expected.

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU3c22e770625f: Merge remote-tracking branch 'remotes/lak/tickets/next/7118…
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPU7591de7e4ef2: maint: fix a race in catalog compilation versioning. (authored by Daniel Pittman <daniel@puppetlabs.com>).Apr 22 2011, 2:08 AM