puppetlabs/puppetdb — pull request #961 by senior (2014-05-05 18:18:15+00:00)
Title: Fix a race condition in the import/export round-trip clojure tests

This scenario occurred if command processing for facts is slow. A result with the hard coded certname would be returned with no fact values or environment. This commit fixes the code to only return results when facts are found.

This has been targeted at stable but can wait until after the 2.0.0 final release.