Thanks for Sridhar. I separate the code by your comments. It can resolve this 
problem. ;-D


Thanks
Zhi Chang
 
 
------------------ Original ------------------
From:  "Sridhar Gaddam"<sgad...@redhat.com>;
Date:  Mon, Jul 20, 2015 05:16 PM
To:  "OpenStack Development Mailing List (not for usage 
questions)"<openstack-dev@lists.openstack.org>; 

Subject:  Re: [openstack-dev] [Neutron]Unit test failed but devstack was okay

 
                   Hi Zhi Chang,
     
     You will have to use sorted to fix the test failure.
     i.e.,          self.assertEqual(sorted(['2.2.2.2', '1.1.1.1']), 
sorted(dns_list))
     
     --Sridhar.
     
     On 07/20/2015 11:17 AM, Zhi Chang       wrote:
     
            Hi, all.
           I write a unit test in devstack and runs all tests okay         on 
my environment. Why does Jenkins failed when I upload my         patch into 
review? The patch         is https://review.openstack.org/#/c/199588/. The 
failed test was         named 
"neutron.tests.unit.plugins.embrane.test_embrane_neutron_plugin.TestEmbraneSubnetsV2.test_subnet_lifecycle_dns_retains_order".
 But it is okay on my environment.           Could someone tells me the reason? 
What should I do?
       
         
       
         
       Thanks
       Zhi Chang
       
       
              
       
__________________________________________________________________________ 
OpenStack Development Mailing List (not for usage questions) Unsubscribe: 
openstack-dev-requ...@lists.openstack.org?subject:unsubscribe 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to