summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorSean Mooney <work@seanmooney.info>2022-05-07 19:47:58 +0300
committerSean Mooney <work@seanmooney.info>2022-08-22 14:57:21 +0100
commit6f1c7ab2e704e057055e3c80370c33abcc502787 (patch)
treedf6a1e47386decd1f33ebaeb2e5756c9de966905 /tox.ini
parentddcc286ee1b70b53bccf21bdf602d9482b74ee0d (diff)
downloadnova-6f1c7ab2e704e057055e3c80370c33abcc502787.tar.gz
Add source dev parsing for vdpa interfaces
This change extends the guest xml parsing such that the source device path can be extreacted from interface elements of type vdpa. This is required to identify the interface to remove when detaching a vdpa port from a domain. This change fixes a latent bug in the libvirt fixutre related to the domain xml generation for vdpa interfaces. Change-Id: I5f41170e7038f4b872066de4b1ad509113034960
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 7 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 24e9e894cf..edb08599e7 100644
--- a/tox.ini
+++ b/tox.ini
@@ -34,7 +34,13 @@ extras =
hyperv
vmware
passenv =
- OS_DEBUG GENERATE_HASHES
+ OS_DEBUG
+ GENERATE_HASHES
+# NOTE(sean-k-mooney) optimization is enabled by default and when enabled
+# asserts are complied out. Disable optimization to allow asserts in
+# nova to fire in unit and functional tests. This can be useful for
+# debugging issue with fixtures and mocks.
+ PYTHONOPTIMIZE
# there is also secret magic in subunit-trace which lets you run in a fail only
# mode. To do this define the TRACE_FAILONLY environmental variable.
commands =