Commit 00d305f
committed
[ptf] Consider only expected packets for timeout
"count_matched_packets" method is getting stuck in a while loop as long
as ptf server port receives any packet (Ex: in dualtor case, we do see
continuous ICMP packets on ptf port). Fix is to consider only expected
packets w.r.t timeout (similar to "count_matched_packets_all_ports" logic).1 parent 346ff01 commit 00d305f
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3635 | 3635 | | |
3636 | 3636 | | |
3637 | 3637 | | |
| 3638 | + | |
3638 | 3639 | | |
3639 | 3640 | | |
| 3641 | + | |
| 3642 | + | |
| 3643 | + | |
3640 | 3644 | | |
3641 | 3645 | | |
3642 | 3646 | | |
3643 | 3647 | | |
3644 | 3648 | | |
3645 | 3649 | | |
| 3650 | + | |
3646 | 3651 | | |
3647 | 3652 | | |
3648 | 3653 | | |
| |||
0 commit comments