diff options
author | Andrew Yourtchenko <ayourtch@gmail.com> | 2019-10-11 12:34:12 +0000 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2019-10-27 10:03:28 +0000 |
commit | 5bf125be8fdfb7b552a8141d3010bd3fcd9189e8 (patch) | |
tree | 4b487e1a47a7a31360308be8a79e1903a0d9dacb /test/framework.py | |
parent | 7b135c639e7d8144859258700700112d0c61f8c1 (diff) |
tests: explicitly wait for the PG to finish before looking for capture file
Rather than only using time-based method of periodically checking
whether the pcap file appeared, first check that the packet generator
has stopped. To make this change fail-safe, have a 5-minute timeout
on this activity, just in case the things go terribly wrong.
Type: test
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Change-Id: Id16b2802b2de8a4cafb5d9f0a8c9ba62ec89dc32
(cherry picked from commit 3d36f19a0febaed532bd255a150504f7af8f18c2)
Diffstat (limited to 'test/framework.py')
0 files changed, 0 insertions, 0 deletions