On 28 October 2010 11:24, Deryck Hodge <[email protected]> wrote: > Hi, Michael. > > I haven't gotten it working yet. I've only been able to poke at it > here and there with UDS. I have narrowed it down to the following: > > When the test is run by itself, I see: > > (Pdb) per_thread.features._rules > {'malone.advanced-subscriptions.enabled': [('default', 999, u'on')]} > > When the test is run as part of all the browser tests, I see: > > (Pdb) per_thread.features._rules > {} > > So I assume _rules is set in a different thread then the one in which > the tests are running when the test is run in a group of tests. I > haven't worked out what to do about this yet, and haven't caught > Martin of Robert about it yet.
That sounds plausible, though it also sounds like a different issue to what gmb was originally hitting. Perhaps the browser tests call back into the web app on a separate thread, or in a different database transaction? (Though it seems like that would break some code that writes to the db and then tries to see it from a browser.) I'll try to find you today... -- Martin _______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp

