summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authormelanie witt <melwittt@gmail.com>2022-01-12 04:09:29 +0000
committermelanie witt <melwittt@gmail.com>2022-01-12 04:15:26 +0000
commit887c445a7a6a17b92a37b6ed1dcdcc7dd009f65d (patch)
tree19cb2a4a64e97219ef94ee00998679345275dee7 /tox.ini
parentf2b364df641ba0489ebabbedaf587159c13506ed (diff)
downloadnova-887c445a7a6a17b92a37b6ed1dcdcc7dd009f65d.tar.gz
Add wrapper for oslo.concurrency lockutils.ReaderWriterLock()
This is a follow up change to I168fffac8002f274a905cfd53ac4f6c9abe18803 which added a hackaround to enable our tests to pass with fasteners>=0.15 which was upgraded recently as part of a openstack/requirements update. The ReaderWriterLock from fasteners (and thus lockutils) cannot work correctly with eventlet patched code, so this adds a wrapper containing the aforementioned hackaround along with a hacking check to do our best to ensure that future use of ReaderWriterLock will be through the wrapper. Change-Id: Ia7bcb40a21a804c7bc6b74f501d95ce2a88b09b5
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index c772cf0108..0777c71828 100644
--- a/tox.ini
+++ b/tox.ini
@@ -346,6 +346,7 @@ extension =
N366 = checks:check_assert_has_calls
N367 = checks:do_not_alias_mock_class
N368 = checks:do_not_use_mock_class_as_new_mock_value
+ N369 = checks:check_lockutils_rwlocks
paths =
./nova/hacking