summaryrefslogtreecommitdiff
path: root/lib/lib_errors.c
diff options
context:
space:
mode:
authorMobashshera Rasool <mrasool@vmware.com>2022-01-16 00:25:23 -0800
committerMobashshera Rasool <mrasool@vmware.com>2022-01-16 04:00:11 -0800
commit3996d25e3ce6376a21fe7fe020afa4c6e9a40306 (patch)
tree3e1e485e5041d9a8cdab352a32f80a596bde18d0 /lib/lib_errors.c
parent2aa2e5932076a1f8dd641056a2f27cd7bd36f4af (diff)
tests: Fix random failure in test_PIM_hello_tx_rx_p1
The test case test_PIM_hello_tx_rx_p1 is failing randomly because sometimes the hello packet is received and sometimes not received while getting the stats data. When the hello packet is received HelloRx gets incremented to 1 and then shutdown of the interface is executed which resets the stats to 0 and again when "no shutdown" of the interface is done, the stats get incremented to 1. The test case checks after "no shutdown" of the interface whether the stats is incremented but in this case although the stats got incremented the before and after value is same. Hence the test case failed. Adding correct expectations in the test case. Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
Diffstat (limited to 'lib/lib_errors.c')
0 files changed, 0 insertions, 0 deletions