[sheepdog] [PATCH 12/14] tests/001: sleep before starting next sheep
MORITA Kazutaka
morita.kazutaka at gmail.com
Tue Apr 30 11:16:27 CEST 2013
At Tue, 30 Apr 2013 17:01:32 +0800,
Liu Yuan wrote:
>
> On 04/30/2013 04:30 PM, MORITA Kazutaka wrote:
> > @@ -54,6 +54,7 @@ $COLLIE cluster info -p 7002 | _filter_cluster_info
> > # add the other nodes
> > for i in 0 1; do
> > _start_sheep $i
> > + sleep 1
> > done
>
> why? We support concurent start up. so why sleep again?
The current test 001 can give a false report because sheep1 can join
before sheep0 without the sleep.
Simultaneous start up is tested in 006. In 001, we should test a
sequential join and check sheepdog works correctly.
Thanks,
Kazutaka
More information about the sheepdog
mailing list