----- Original Message -----
> From: "Lance Richardson" <lrich...@redhat.com>
> To: dev@openvswitch.org
> Sent: Friday, June 3, 2016 6:09:26 PM
> Subject: [ovs-dev] [PATCH] tests: fix issue in use of OVS_APP_EXIT_AND_WAIT
> 
> Commit f9b11f2a09b4 introduced a loop to wait for process exit
> in OVS_APP_EXIT_AND_WAIT after the "exit" command has been sent.
> Unfortunately, this does not work for cases where a unixctl socket
> has to be used to send the "exit" command because the process
> ID cannot be determined from the socket path.
> 
> OVS_APP_EXIT_AND_WAIT_BY_TARGET has since been introduced to enable
> graceful termination of daemons via unixctl sockets.
> 
> This set of changes addresses the problem described above by
> making OVS_APP_EXIT_AND_WAIT_BY_TARGET take the unixctl socket
> path and corresponding process ID as separate parameters. In order
> to better detect issues in this logic in the future, checks have
> been added to verify that the pidfile exists before using its
> contents.
> 
> Tested on a Linux system.
> 

Also tested on NetBSD 7 and travis-ci.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to