daemon.at: Fix a race condition with windows service test.
authorGurucharan Shetty <gshetty@nicira.com>
Wed, 11 Feb 2015 18:34:11 +0000 (10:34 -0800)
committerGurucharan Shetty <gshetty@nicira.com>
Thu, 12 Feb 2015 00:23:58 +0000 (16:23 -0800)
commit05082734f3dfc185c56a42d30b670e13e0178114
tree2391dbaf6f233296b973875aba2593dfc3aaa76f
parent653ce9d6848c34aa1722d0ef4ddc6d8bd9ea2088
daemon.at: Fix a race condition with windows service test.

OVS daemon service for Windows creates the pidfile and then
registers with the Windows services manager that the service
is running. There is a small time gap between the two steps.
So retry a few times in the test.

Also, provide a keyword for the test.

Reported-by: Nithin Raju <nithin@vmware.com>
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Nithin Raju <nithin@vmware.com>
Tested-by: Nithin Raju <nithin@vmware.com>
tests/daemon.at