From: Alin Serdean Date: Mon, 22 Jun 2015 22:45:17 +0000 (+0000) Subject: bfd: Add OVS_VSWITCHD_STOP to bfd unit tests X-Git-Tag: v2.5.0~1038 X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fovs.git;a=commitdiff_plain;h=2f2695a2cab0f944109aee806450876a2fb02879 bfd: Add OVS_VSWITCHD_STOP to bfd unit tests On Windows the following tests hang unless we also call the OVS_VSWITCHD_STOP macro to stop the executable. Tested on Windows and Linux Signed-off-by: Alin Gabriel Serdean Signed-off-by: Gurucharan Shetty --- diff --git a/tests/bfd.at b/tests/bfd.at index 8bf88f2cb..5215d2e9e 100644 --- a/tests/bfd.at +++ b/tests/bfd.at @@ -442,6 +442,7 @@ done BFD_CHECK([p0], [false], [false], [none], [down], [No Diagnostic], [none], [down], [No Diagnostic]) AT_CHECK([ovs-vsctl del-br br1], [0], [ignore]) +OVS_VSWITCHD_STOP AT_CLEANUP @@ -509,6 +510,7 @@ BFD_CHECK_TX([p0], [500ms], [500ms], [300ms]) BFD_CHECK_RX([p0], [500ms], [500ms], [300ms]) AT_CHECK([ovs-vsctl del-br br1], [0], [ignore]) +OVS_VSWITCHD_STOP AT_CLEANUP # forwarding_if_rx Test3 @@ -596,6 +598,7 @@ BFD_CHECK_TX([p0], [300ms], [300ms], [300ms]) BFD_CHECK_RX([p0], [1000ms], [1000ms], [300ms]) AT_CHECK([ovs-vsctl del-br br1], [0], [ignore]) +OVS_VSWITCHD_STOP AT_CLEANUP # forwarding_if_rx Test4 @@ -664,6 +667,7 @@ done BFD_CHECK([p0], [false], [false], [none], [down], [Control Detection Time Expired], [none], [down], [No Diagnostic]) AT_CHECK([ovs-vsctl del-br br1], [0], [ignore]) +OVS_VSWITCHD_STOP AT_CLEANUP # test bfd:flap_count.