Without this change, I observed that "ofproto-dpif - ofproto-dpif-monitor 2" test, which merely accesses ovsdb, failed in OVS_VSWITCHD_STOP's "ovs-appctl -t ovs-vswitchd exit".
Signed-off-by: YAMAMOTO Takashi <yamam...@valinux.co.jp> --- tests/ofproto-macros.at | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/ofproto-macros.at b/tests/ofproto-macros.at index a82a9b1..076bf07 100644 --- a/tests/ofproto-macros.at +++ b/tests/ofproto-macros.at @@ -64,6 +64,7 @@ m4_define([OVS_VSWITCHD_START], dnl Start ovsdb-server. AT_CHECK([ovsdb-server --detach --no-chdir --pidfile --log-file --remote=punix:$OVS_RUNDIR/db.sock], [0], [], [stderr]) + OVS_WAIT_UNTIL([test -e ovsdb-server.pid]) AT_CHECK([[sed < stderr ' /vlog|INFO|opened log file/d /ovsdb_server|INFO|ovsdb-server (Open vSwitch)/d']]) @@ -75,6 +76,7 @@ m4_define([OVS_VSWITCHD_START], dnl Start ovs-vswitchd. AT_CHECK([ovs-vswitchd --detach --no-chdir --pidfile --enable-dummy$3 --disable-system --log-file -vvconn -vofproto_dpif], [0], [], [stderr]) AT_CAPTURE_FILE([ovs-vswitchd.log]) + OVS_WAIT_UNTIL([test -e ovs-vswitchd.pid]) AT_CHECK([[sed < stderr ' /vlog|INFO|opened log file/d /vswitchd|INFO|ovs-vswitchd (Open vSwitch)/d -- 1.8.3.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev