Commit c099ab2f authored by Xiaowu Zhang's avatar Xiaowu Zhang

test_registry_client: use correct function

parent cc27de33
...@@ -32,7 +32,7 @@ class TestRegistryClientInteract(unittest.TestCase): ...@@ -32,7 +32,7 @@ class TestRegistryClientInteract(unittest.TestCase):
re6st_wrap.initial() re6st_wrap.initial()
# if running in net ns, set lo up # if running in net ns, set lo up
subprocess.Popen(["ip", "link", "set", "lo", "up"], stderr=subprocess.PIPE) subprocess.check_call(("ip", "link", "set", "lo", "up"))
def setUp(self): def setUp(self):
self.port = 18080 self.port = 18080
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment