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".
Reviewed: https:/ /review. opendev. org/681540 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=a4bf6cd265e f08c2b448b2510d 1692fe2b44af95
Committed: https:/
Submitter: Zuul
Branch: master
commit a4bf6cd265ef08c 2b448b2510d1692 fe2b44af95
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
Closes-Bug: #1843615