commit | 4d46dbd5348cc2db996e8e3d521d0597f372eeb0 | [log] [tgz] |
---|---|---|
author | Rich Lane <rich.lane@bigswitch.com> | Sat Dec 22 19:26:19 2012 -0800 |
committer | Rich Lane <rich.lane@bigswitch.com> | Sat Dec 22 19:26:19 2012 -0800 |
tree | 1991a83cafc224ff92185623538566e7b549716b | |
parent | bd186803c8aaf15c4ba20e34c0b7da3d74cc9636 [diff] |
dataplane: kill port threads concurrently
diff --git a/src/python/oftest/dataplane.py b/src/python/oftest/dataplane.py index 76aff75..056f22a 100644 --- a/src/python/oftest/dataplane.py +++ b/src/python/oftest/dataplane.py
@@ -496,7 +496,9 @@ """ for port_number in self.port_list.keys(): self.port_list[port_number].kill() - if join_threads: + + if join_threads: + for port_number in self.port_list.keys(): self.logger.debug("Joining " + str(port_number)) self.port_list[port_number].join()