cloudkick/whiskey — pull request #44 by sam-falvo (2012-10-20 01:27:36+00:00)
Title: B 33971/global setup teardown

See https://one.rackspace.com/display/~sam5373/Whiskey+Change+Proposal+2012-Oct-16 for the long-winded details.

TL;DR:

We have a body of integration test suites currently running sequentially. We need these to run in parallel. However, each setUp procedure attempts to establish a Cassandra schema. A batch of five schema restores running all at once leaves all five tests in a failure state, since Cassandra insists that the versions are all out of date.

This PR adds a feature to Whiskey which allows us to pull that common initialization code out into a single globalSetUp that is run for the _entire_ batch of test suites. This way, the Cassandra code executes exactly once., regardless of parallelism used.