[ovs-dev] [PATCH 2/2] tests: Test that children restart with special exit code

Ben Pfaff blp at nicira.com
Fri Sep 24 23:44:55 UTC 2010


On Fri, Sep 24, 2010 at 02:07:20PM -0700, Ethan Jackson wrote:
> Added a test which checks that the python daemon code properly
> restarts child processes which exit with RESTART_EXIT_CODE.

Thanks for writing this.

I'd rather that this be a new test instead of an addition to the
existing test, because killing the child process twice in a row makes
the monitor process sleep for 10 seconds before respawning it, so the
test now takes 10s longer (than approximately 0s).  You can just
make a copy of the common code with cut-and-paste, or you can define a
macro for it.

Thanks,

Ben.




More information about the dev mailing list