The number of versioned notifications received in the
_test_live_migration_force_complete method is racey since
by the time we check we could have entered _post_live_migration
and received up to four more notifications. This change softens
the assertion to go from "equal to 6" to "at least 6".
Change-Id: I98bbd6beaba1256f1c679af0c1eb8c7cad407e2b
Closes-Bug: #1843615
(cherry picked from commit a4bf6cd265ef08c2b448b2510d1692fe2b44af95)
Reviewed: https:/ /review. opendev. org/681744 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=ec4993ce0f1 2c4f9b900304835 389b094e038200
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit ec4993ce0f12c4f 9b900304835389b 094e038200
Author: Matt Riedemann <email address hidden>
Date: Wed Sep 11 12:50:41 2019 -0400
Fix race in _test_live_ migration_ force_complete
The number of versioned notifications received in the live_migration_ force_complete method is racey since migration
_test_
by the time we check we could have entered _post_live_
and received up to four more notifications. This change softens
the assertion to go from "equal to 6" to "at least 6".
Change-Id: I98bbd6beaba125 6f1c679af0c1eb8 c7cad407e2b 2b448b2510d1692 fe2b44af95)
Closes-Bug: #1843615
(cherry picked from commit a4bf6cd265ef08c