tests: fix another race condition in punt tests 57/32257/2
authorDave Wallace <dwallacelf@gmail.com>
Sat, 8 May 2021 01:40:54 +0000 (21:40 -0400)
committerFlorin Coras <florin.coras@gmail.com>
Sat, 8 May 2021 02:49:06 +0000 (02:49 +0000)
commitc44402f7b54d3290e7d1605e8e855f859ffe5331
tree615664ff7d5f7b45da558847bdfe028354460a38
parent7508f0a7ea325b5c65f516acaa4ccd074a122af3
tests: fix another race condition in punt tests

- Don't close the socket and don't stop receiving
  until after draining the existing data in the
  socket.

Type: fix

Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Change-Id: I38dfff4d6273eeddb5196f5cf2a60b580e1c93e6
test/test_punt.py