Russell,

FYI, with the flags patch, it is no longer possible to set rpc-implementation 
dependent flags in fake_flags.

Even Rabbit has a flag in there (fake_rabbit), but Rabbit flags are currently 
global, so it works. That won't be true for long… We're going to have to fix 
this.

One option is to initialize the RPC layer from fake_flags.py and then set the 
options.

Another option, for now, might just be to push this problem into the 
implementations and have a global "testing" flag that is implementation/backend 
independent. This is uglier on the implementation/driver side, but cleaner on 
the unit tests.  This is basically what 'fake_rabbit' is now, anyway.

Thoughts?  

--  
Eric Windisch

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to