[sheepdog] [PATCH 12/14] tests/001: sleep before starting next sheep

MORITA Kazutaka morita.kazutaka at gmail.com
Tue Apr 30 11:28:16 CEST 2013

At Tue, 30 Apr 2013 17:20:25 +0800,
Liu Yuan wrote:
> On 04/30/2013 05:16 PM, MORITA Kazutaka wrote:
> > The current test 001 can give a false report because sheep1 can join
> > before sheep0 without the sleep.
> > 
> I don't get it. So is this a bug? why give a false report since we
> support concurrent start-up.

It's not a bug.

If we start sheep0 and sheep1 simultaneously, sheep1 can join sheepdog
before sheep0.  Sheepdog works correctly in either case, but 001.out
expects that sheep0 joins before sheep1 in the check of the 'collie
cluster info' output.



More information about the sheepdog mailing list