neutron/neutron/tests/functional
Rodolfo Alonso Hernandez 9cdd331036 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:22 +00:00
..
agent Check a namespace existence by checking only its own directory 2021-11-03 14:15:22 +00:00
api Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
cmd Fix neutron-status upgrade check CLI tool 2019-03-21 15:01:50 +00:00
common All functional tests logs results now 2018-11-21 19:58:18 +00:00
db Remove FT "test_has_offline_migrations_*" tests 2021-04-07 09:25:38 +00:00
objects Randomize segmentation ID assignation 2021-09-14 17:31:31 +02:00
pecan_wsgi Fix bulk port functioning with requested security groups 2019-09-11 02:31:42 +00:00
plugins use neutron_lib's portbindings api-def 2017-03-31 09:16:22 -06:00
privileged Migrate "netstat" to oslo.privsep 2021-02-25 20:59:01 +00:00
sanity Use pyroute2 for SRIOV VF commands 2020-06-03 11:05:20 +00:00
scheduler Merge "Remove 'gateway_external_network_id' config option" 2019-08-05 12:40:08 +00:00
services Revert "DVR: Remove control plane arp updates for DVR" 2021-03-09 13:10:59 +00:00
tests NetcatTester.stop_processes skip "No such process" exception 2019-11-22 10:54:06 +00:00
__init__.py tests: removed 'retargetable' framework 2017-05-02 16:45:49 +00:00
base.py Enable ovsdb debug messages in functional and fullstack 2021-06-03 18:54:07 +00:00
constants.py TrunkManager for the OVS agent 2016-08-24 02:52:17 -04:00
requirements.txt Don't return null-byte separated string from ExternalProcess.cmdline() 2017-03-08 07:50:51 +00:00
test_server.py [Functional] Add logging to the check test file function 2020-10-12 13:55:41 +00:00
test_service.py Modify api and rpc default number of workers 2019-02-19 13:24:01 -07:00