← Back to team overview

launchpad-dev team mailing list archive

Problems with FeatureFlags and test isolation

 

Hi folks,

So, I'm supposed to be Not Working this week, but I've two branches
hanging over from Friday and I'd like to get them landed so that
Deryck can demo some of the new subscription features at UDS.

The problem I'm having is that I've feature-flagged the new features
as they're not yet complete. I'm using Maris's FeatureFixture test
helper in my unit tests for the view.

The problem I'm having is that whilst the tests run fine in isolation,
if they're run as part of a group (e.g. bin/test -cvvt
lp.bugs.browser), they fail. Some debugging shows that this is because
the feature flag isn't set when the tests are run this way.

Any help figuring this out would be appreciated. The branches are:

 - lp:~gmb/launchpad/include-bnl-bug-651108
 and
 - lp:~gmb/launchpad/make-bnl-descriptions-readable-bug-664566

I've attached the most recent subunit logs for both branches.

TIA,

Graham

-- 
Graham Binns | PGP Key: EC66FA7D
http://launchpad.net/~gmb

Attachment: include-bnl-bug-651108-r11687.subunit.gz
Description: GNU Zip compressed data

Attachment: make-bnl-descriptions-readable-bug-664566-r11690.subunit.gz
Description: GNU Zip compressed data


Follow ups