commit 8897592b93362b1b1f913700e6e3516277bffb70
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: Ib792ea1e4910a568d8bf44c6c6ba8afff0402b3f
Closes-Bug: #1518268
(cherry picked from commit 7ad94b754d5b1faabbad265a16932a1411e55812)
Reviewed: https:/ /review. openstack. org/269570 /git.openstack. org/cgit/ openstack/ fuel-web/ commit/ ?id=8897592b933 62b1b1f913700e6 e3516277bffb70
Committed: https:/
Submitter: Jenkins
Branch: stable/8.0
commit 8897592b93362b1 b1f913700e6e351 6277bffb70
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 abbad265a16932a 1411e55812)
Closes-Bug: #1518268
(cherry picked from commit 7ad94b754d5b1fa