neutron/neutron/tests/common
Rodolfo Alonso Hernandez f144ba95a5 Check a namespace existence by checking only its own directory
To check the existance of a namespace, instead of listing the
namespaces directory (by default "/var/run/netns"), this patch
directly checks the existence of the namespace directory, using
"os.path.exists".

This check is faster than listing the whole directory and avoids
timeout problems as reported in the related bug.

Conflicts:
      neutron/privileged/agent/linux/utils.py

Closes-Bug: #1947974
Change-Id: I558d50d28378beb3710d98a2113ff9549c82ae17
(cherry picked from commit 8127221479)
(cherry picked from commit 6a9c05a924)
2021-11-03 14:15:01 +00:00
..
agents [Fullstack] Fix waiting for packet with DSCP mark in test 2019-11-15 11:26:27 +01:00
exclusive_resources use synchronized lock decorator from neutron-lib 2017-10-04 13:57:42 -06:00
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Remove references to unittest2 library 2020-01-14 09:03:26 +00:00
config_fixtures.py Add more info when parsing config fails 2019-10-18 19:37:05 -04:00
conn_testers.py Drop of_interface option 2019-05-24 10:33:48 +02:00
helpers.py Stop testing python 2 2019-10-25 18:50:08 +00:00
l3_test_common.py Give some HA router case specific resources 2019-04-06 09:08:06 +08:00
machine_fixtures.py Merge "fullstack: test for IPv6 north-south traffic" 2016-11-09 12:02:45 +00:00
net_helpers.py Check a namespace existence by checking only its own directory 2021-11-03 14:15:01 +00:00