]> git.proxmox.com Git - mirror_ovs.git/commit
Tests: Fix test bridge - add port after stopping controller on Windows
authorAlin Gabriel Serdean <aserdean@ovn.org>
Wed, 14 Nov 2018 15:30:53 +0000 (17:30 +0200)
committerAlin Gabriel Serdean <aserdean@ovn.org>
Thu, 15 Nov 2018 13:29:39 +0000 (15:29 +0200)
commit039cf7d4d9b5e9cdf87b2732511f39cd55477bb6
tree1caddb1ce2afe2c0f017d44d09c914d843ad351c
parent262a07956fabfd8399a1bcf1d17e1c965013cf28
Tests: Fix test bridge - add port after stopping controller on Windows

On Windows the file which is used for the named pipe connection (`punix:file`)
is not deleted when the process is closed.

Try to delete the `controller` file and fail if we can't (on Windows you can't
delete a file if there still an opened handle to it).

Also add a check to see if the `ovs-testcontroller` was successfully started.

Signed-off-by: Alin Gabriel Serdean <aserdean@ovn.org>
Acked-by: Sairam Venugopal <vsairam@vmware.com>
tests/bridge.at