Handle namespaces with care
authorzachgersh <zachgersh@gmail.com>
Mon, 22 Feb 2016 03:23:14 +0000 (19:23 -0800)
committerzachgersh <zachgersh@gmail.com>
Mon, 29 Feb 2016 17:29:06 +0000 (12:29 -0500)
commit1e3d680d135beceeb6b5d9b436e3311d11bfb579
treea1d2c2fcc4fda0a0412649db77e532015c54e26d
parent2708bdf2f5e61f9d440fbaea0268c9689ffbcd5f
Handle namespaces with care

- After creating new netns, switch back to main netns
- Lock thread during test and test setup
plugins/main/loopback/loopback_suite_test.go
plugins/main/loopback/loopback_test.go