commit 7ad94b754d5b1faabbad265a16932a1411e55812
Author: Igor Kalnitsky <email address hidden>
Date: Wed Dec 30 17:23:48 2015 +0200
Fix test_assign_ip_multiple_groups random failures
Recently the test 'test_assign_ip_multiple_groups' has a random failure
that was depended on the order of entries selected from database. The
test had two errors:
* It didn't change network's CIDR, so node's IP address was checked
for containing with incorrect (old) CIDR.
* The new IP range was created, but old ones weren't removed. So when
IP allocation code picked old IP range - the test is passed; when
the new IP range is picked - the test is failed.
Reviewed: https:/ /review. openstack. org/262552 /git.openstack. org/cgit/ openstack/ fuel-web/ commit/ ?id=7ad94b754d5 b1faabbad265a16 932a1411e55812
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7ad94b754d5b1fa abbad265a16932a 1411e55812
Author: Igor Kalnitsky <email address hidden>
Date: Wed Dec 30 17:23:48 2015 +0200
Fix test_assign_ ip_multiple_ groups random failures
Recently the test 'test_assign_ ip_multiple_ groups' has a random failure
that was depended on the order of entries selected from database. The
test had two errors:
* It didn't change network's CIDR, so node's IP address was checked
for containing with incorrect (old) CIDR.
* The new IP range was created, but old ones weren't removed. So when
IP allocation code picked old IP range - the test is passed; when
the new IP range is picked - the test is failed.
Change-Id: Ib792ea1e4910a5 68d8bf44c6c6ba8 afff0402b3f
Closes-Bug: #1518268