Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
tests: fix race condition in punt tests
[vpp.git]
/
test
/
test_punt.py
diff --git
a/test/test_punt.py
b/test/test_punt.py
old mode 100644
(file)
new mode 100755
(executable)
index
c6d6dbc
..
bc2196e
--- a/
test/test_punt.py
+++ b/
test/test_punt.py
@@
-83,6
+83,7
@@
class serverSocketThread(threading.Thread):
def close(self):
self.sock.close()
self.keep_running = False
+ threading.Thread.join(self)
return self.rx_pkts
@@
-131,7
+132,6
@@
class TestPuntSocket(VppTestCase):
rx_pkts = []
for thread in self.sock_servers:
rx_pkts += thread.close()
- thread.join()
return rx_pkts
def verify_port(self, pr, vpr):