[sheepdog] [PATCH 1/2] functional: add 065 to test cache push
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Fri Jun 21 05:36:46 CEST 2013
At Fri, 21 Jun 2013 09:45:42 +0800,
Liu Yuan wrote:
>
> On 06/21/2013 08:22 AM, MORITA Kazutaka wrote:
> > I wonder if we should add tests only for object cache. Can we test
> > the similar things by setting the environment variable? For example,
> >
> > # SHEEP_OPTIONS="-n -d -w size=400" ./tests/functional/check
>
> Nope, notice that 'vdi write -w', this only works when cache is enabled
How about adding a option to use write cache for the check script?
For example,
$ SHEEP_OPTIONS="-n -d -w size=400"./check -writeback
where -writeback adds '-w' to 'collie vdi write' and '-t writeback' to
qemu-io. Then we can reuse all the existing testcases for testing the
object cache feature.
Thanks,
Kazutaka
More information about the sheepdog
mailing list