Re: [ovs-dev] [PATCH] ovs-sandbox: add delay before running ovs-vsctl

2015-04-14 Thread Andy Zhou
> Personally I'd put "sleep 0.1" above the loop and then sleep 1 inside > it, like in tests/ovs-macros.at: > Thanks, will do. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH] ovs-sandbox: add delay before running ovs-vsctl

2015-04-14 Thread Andy Zhou
On Tue, Apr 14, 2015 at 6:51 AM, Russell Bryant wrote: > On 04/13/2015 06:03 PM, Andy Zhou wrote: >> When running ovsdb-server under gdb, there is a race that ovs-vsctl >> command can be called before ovsdb-server is fully launched. This will >> cause ovs-vsctl to fail. This patch fixes this by d

Re: [ovs-dev] [PATCH] ovs-sandbox: add delay before running ovs-vsctl

2015-04-14 Thread Ben Pfaff
On Mon, Apr 13, 2015 at 03:03:53PM -0700, Andy Zhou wrote: > When running ovsdb-server under gdb, there is a race that ovs-vsctl > command can be called before ovsdb-server is fully launched. This will > cause ovs-vsctl to fail. This patch fixes this by delay issuing > the ovs-vsctl command until

Re: [ovs-dev] [PATCH] ovs-sandbox: add delay before running ovs-vsctl

2015-04-14 Thread Russell Bryant
On 04/13/2015 06:03 PM, Andy Zhou wrote: > When running ovsdb-server under gdb, there is a race that ovs-vsctl > command can be called before ovsdb-server is fully launched. This will > cause ovs-vsctl to fail. This patch fixes this by delay issuing > the ovs-vsctl command until ovsdb-server is fu

[ovs-dev] [PATCH] ovs-sandbox: add delay before running ovs-vsctl

2015-04-13 Thread Andy Zhou
When running ovsdb-server under gdb, there is a race that ovs-vsctl command can be called before ovsdb-server is fully launched. This will cause ovs-vsctl to fail. This patch fixes this by delay issuing the ovs-vsctl command until ovsdb-server is fully launched. CC: Russell Bryant Signed-off-by: