test/bonding: fix LSC related cases
authorKrzysztof Kanas <kkanas@marvell.com>
Fri, 23 Aug 2019 08:16:58 +0000 (10:16 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 23 Oct 2019 14:43:08 +0000 (16:43 +0200)
commit88524d6b8b339278c95df3a0a894054c365daf13
treeba030c6c359613ad79f49919ae8910b881753258
parent971a815b9e87dcdda93e4644ffc791ff6a14c637
test/bonding: fix LSC related cases

On rare situation test_link_bonding test case fail due to timespec
tv_nsec overflow, which causes pthread_cond_timedwait to return EINVAL
and test to fail.

Fixes: 76d29903f5f5 ("bond: support link status interrupt")
Cc: stable@dpdk.org
Signed-off-by: Krzysztof Kanas <kkanas@marvell.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test/test_link_bonding.c