puppetlabs / puppetdb

Centralized Puppet Storage
http://docs.puppetlabs.com/puppetdb
Apache License 2.0
299 stars 225 forks source link

(maint) Add a test to validate that benchmark doesn't loose data #3926

Closed jpartlow closed 7 months ago

jpartlow commented 9 months ago

when re-run with a more restrictive set of sample data flags (--catalog, --factsets, --reports).

(Currently this fails because I had a bug in f43a2ca90.)

Also fixes a bug in catalog/utils/add-random-resource-to-catalog where we were creating a random-resource, getting a key from its properties, then associating that key with yet another random resource rather than one we first created. Over long runs of benchmark this was generating errors during parsing of the catalogs.