commit c22e5787c8308b61bb2d5feccd12e35110dcb558
Author: Thomas Gao <email address hidden>
Date: Thu Jan 16 14:38:32 2020 -0500
Verified types of errors for sriov test suites.
Verification is done by checking whether certain messages
are shown in the response.json['error_message']. The original
error message "Unable to provision pci-sriov interface
without configured mgmt interface" is promptly caught, causing
the test to fail, as expected.
Since the intended error message is supposed to be something
that's not "Unable to provision pci-sriov interface without
configured mgmt interface," I added mgmt interface
configuration so the test won't fail.
Closes-Bug: 1860030
Change-Id: I6a2f11d6cf5b37166fc44b722deab47e696f9fd6
Signed-off-by: Thomas Gao <email address hidden>
Reviewed: https:/ /review. opendev. org/702968 /git.openstack. org/cgit/ starlingx/ config/ commit/ ?id=c22e5787c83 08b61bb2d5feccd 12e35110dcb558
Committed: https:/
Submitter: Zuul
Branch: master
commit c22e5787c8308b6 1bb2d5feccd12e3 5110dcb558
Author: Thomas Gao <email address hidden>
Date: Thu Jan 16 14:38:32 2020 -0500
Verified types of errors for sriov test suites.
Verification is done by checking whether certain messages json['error_ message' ]. The original
are shown in the response.
error message "Unable to provision pci-sriov interface
without configured mgmt interface" is promptly caught, causing
the test to fail, as expected.
Since the intended error message is supposed to be something
that's not "Unable to provision pci-sriov interface without
configured mgmt interface," I added mgmt interface
configuration so the test won't fail.
Closes-Bug: 1860030
Change-Id: I6a2f11d6cf5b37 166fc44b722deab 47e696f9fd6
Signed-off-by: Thomas Gao <email address hidden>