HomePhorge

(PUP-3277) Check if puppetdb has emptied queue before reports test
bc41d8afe6aeUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-3277) Check if puppetdb has emptied queue before reports test

The PE version of acceptance/tests/reports/submission.rb queries
puppetdb before and after an agent run to check that a new report has
been stored. Occasionally, depending on load issues in our testing
environment, Beaker would request the current report time before
puppetdb had had a chance to finish processing, and the test would fail
because we would see the previous timestamp. This patch borrows a
helper from puppetdb which checks that the worker queue is empty before
querying for the latest report.

Details

Provenance
Josh Partlow <joshua.partlow@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU166168f5ac25: Merge pull request #3258 from waynr/quickfix
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Partlow <joshua.partlow@puppetlabs.com> committed rPUbc41d8afe6ae: (PUP-3277) Check if puppetdb has emptied queue before reports test (authored by Josh Partlow <joshua.partlow@puppetlabs.com>).Nov 3 2014, 10:40 PM