On Mon, Oct 14, 2013 at 10:12:59PM -0700, Alex Wang wrote:
> Until now, the "ovsdb-server/add-remote and remove-remote with --monitor"
> test killed ovsdb-server with SIGSEGV twice. Each time, the "--monitor"
> option caused the supervisor process to restart the child, but the second
> time it incurred a 10-second delay intended to prevent the daemon from
> wasting CPU time by restarting itself and dying again very quickly in a
> loop. This made the test take over 10 seconds to execute. It also made
> it occasionally fail because the OVS_WAIT_UNTIL check waits at most
> approximately 10 seconds before it decides that the condition that it is
> testing for will never occur.
>
> This commit fixes the problem by breaking the test into two tests, each of
> which kills ovsdb-server with SIGSEGV only once.
>
> Signed-off-by: Alex Wang <[email protected]>
Thanks a lot, applied to master and branch-{2.0,1.11,1.10}.
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev