Fix exception type in test_boot_reschedule_fill_provider_mapping_raises
After Iecbee518444bd282ce5f6fd019db41a322f76a83 merged the
test_boot_reschedule_fill_provider_mapping_raises does not simulate a
possible scenario as ConsumerAllocationRetrievalFailed cannot be
raised from _fill_provider_mapping any more.
The fault this functional test reporduces still exists just with
different exception types. So this patch changes the exception type
to a valid one that is still raised by _fill_provider_mapping.
Change-Id: I79cf44aafccb1bc6b13a3109c5a98215811bd04d
Related-Bug: #1819460
(cherry picked from commit fd3b86d1c35efdd8356233863b8ad5b628df8d29)
Reviewed: https:/ /review. opendev. org/657601 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=c38a8219024 2aeea3c3577cd7d de9fba8bb04d72
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit c38a82190242aee a3c3577cd7dde9f ba8bb04d72
Author: Balazs Gibizer <email address hidden>
Date: Fri Mar 29 10:03:48 2019 +0100
Fix exception type in test_boot_ reschedule_ fill_provider_ mapping_ raises
After Iecbee518444bd2 82ce5f6fd019db4 1a322f76a83 merged the boot_reschedule _fill_provider_ mapping_ raises does not simulate a ionRetrievalFai led cannot be mapping any more.
test_
possible scenario as ConsumerAllocat
raised from _fill_provider_
The fault this functional test reporduces still exists just with mapping.
different exception types. So this patch changes the exception type
to a valid one that is still raised by _fill_provider_
Change-Id: I79cf44aafccb1b c6b13a3109c5a98 215811bd04d 8356233863b8ad5 b628df8d29)
Related-Bug: #1819460
(cherry picked from commit fd3b86d1c35efdd