HomePhorge

(#6771) Disconnect any ActiveRecord connection after every test.
ed24b8029428Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#6771) Disconnect any ActiveRecord connection after every test.

Some of our tests can trigger an actual ActiveRecord connection being made.
This could leak between tests, potentially causing odd problems, or otherwise
share state between them.

We should, when we have the feature available, ensure we disconnect between
every test, so that we don't share state.

Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUdd0e405655d5: Document why we disable GC during the test runs.
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPUed24b8029428: (#6771) Disconnect any ActiveRecord connection after every test. (authored by Daniel Pittman <daniel@puppetlabs.com>).Jan 25 2012, 9:58 PM