[openstack-dev] [Neutron][LBaaS] Error at context exit for subnet in unit test case
    Vijay Venkatachalam 
    Vijay.Venkatachalam at citrix.com
       
    Wed Aug 20 13:42:16 UTC 2014
    
    
  
Hi,
I am writing a unit testcase with context as subnet, code here [1]. 
When the context exits a delete of subnet is attempted and 
I am getting a MismatchError . Traceback posted here [2]. 
What could be going wrong here?
Testcase is written like the following
----------------------
with self.subnet() as subnet:
    blah1
    blah2
    blah3
----------------------
I am getting a "MismatchError: 409 != 204" error at blah3 when context exits.
[1] UnitTestCase Snippet - http://pastebin.com/rMtf2dQX
[2] Traceback  - http://pastebin.com/2sPcZ8Jk
Thanks,
Vijay V.
    
    
More information about the OpenStack-dev
mailing list