mirror of
https://github.com/rancher/plugins.git
synced 2025-07-08 12:45:19 +00:00
/proc/self/ns/net gives the main thread's namespace, not necessarily
the namespace of the thread that's running the testcases. This causes
sporadic failures of the tests.
For example, with a testcase reading inodes after switching netns:
/proc/27686/task/27689/ns/net 4026532565
/proc/self/ns/net 4026531969
/proc/27686/task/27689/ns/net 4026532565
See also:
|
||
---|---|---|
.. | ||
ns_suite_test.go | ||
ns_test.go | ||
ns.go |