Commit b2278fb
lag_test: Add check to verify that an initial LACP packet was received (sonic-net#9343)
In the LacpTimingTest class, when getting the initial LACP packet, first
check to see that a packet was captured before trying to convert the
timestamp value of the tuple to a float. Otherwise, there'll be an error
about an invalid argument to float.
This doesn't necessarily prevent an error from being thrown, it just
makes it a more graceful/expected failure.
Signed-off-by: Saikrishna Arcot <[email protected]>1 parent edf39b4 commit b2278fb
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| |||
0 commit comments