[sheepdog] [PATCH] tests/func: fix spurious errors due to nfs files

Robin Dong robin.k.dong at gmail.com
Mon Feb 17 10:10:46 CET 2014


Reviewed-by: Robin Dong <sanbai at taobao.com>


2014-02-12 15:19 GMT+08:00 Liu Yuan <namei.unix at gmail.com>:

> Signed-off-by: Liu Yuan <namei.unix at gmail.com>
> ---
>  tests/functional/081.out | 18 ++++++++++++------
>  tests/functional/082.out | 18 ++++++++++++------
>  2 files changed, 24 insertions(+), 12 deletions(-)
>
> diff --git a/tests/functional/081.out b/tests/functional/081.out
> index e166bc1..92df8ca 100644
> --- a/tests/functional/081.out
> +++ b/tests/functional/081.out
> @@ -9,6 +9,7 @@ data137
>  data19
>  data4
>  data97
> +fs.c
>  gateway.c
>  graph.c
>  group.c
> @@ -18,6 +19,9 @@ kv.c
>  local.c
>  md.c
>  migrate.c
> +mount.c
> +nfs.c
> +nfsd.c
>  oalloc.c
>  object_cache.c
>  object_list_cache.c
> @@ -32,11 +36,13 @@ store.c
>  swift.c
>  trace.c
>  vdi.c
> +xdr.c
>  zookeeper.c
>  cluster.c
>  common.c
>  dog.c
>  farm.c
> +nfs.c
>  node.c
>  object_tree.c
>  sha1_file.c
> @@ -50,9 +56,9 @@ vdi.c
>  < HTTP/1.1 416 Requested Range Not Satisfiable
>  < HTTP/1.1 416 Requested Range Not Satisfiable
>    Name        Id    Size    Used  Shared    Creation time   VDI id
>  Copies  Tag
> -  sd/dog       0   16 PB   52 MB  0.0 MB DATE   5a5cbf    4:2
> +  sd/dog       0   16 PB   56 MB  0.0 MB DATE   5a5cbf    4:2
>    sd           0   16 PB  8.0 MB  0.0 MB DATE   7927f2    4:2
> -  sd/sheep     0   16 PB  124 MB  0.0 MB DATE   8ad11e    4:2
> +  sd/sheep     0   16 PB  144 MB  0.0 MB DATE   8ad11e    4:2
>    sd/dog/allocator     0   16 PB  4.0 MB  0.0 MB DATE   936d95    4:2
>    sd/sheep/allocator     0   16 PB  268 MB  0.0 MB DATE   fd57fc    4:2
>  data137
> @@ -60,16 +66,16 @@ data19
>  data4
>  data97
>    Name        Id    Size    Used  Shared    Creation time   VDI id
>  Copies  Tag
> -  sd/dog       0   16 PB   52 MB  0.0 MB DATE   5a5cbf    4:2
> +  sd/dog       0   16 PB   56 MB  0.0 MB DATE   5a5cbf    4:2
>    sd           0   16 PB  8.0 MB  0.0 MB DATE   7927f2    4:2
> -  sd/sheep     0   16 PB  124 MB  0.0 MB DATE   8ad11e    4:2
> +  sd/sheep     0   16 PB  144 MB  0.0 MB DATE   8ad11e    4:2
>    sd/dog/allocator     0   16 PB  4.0 MB  0.0 MB DATE   936d95    4:2
>    sd/sheep/allocator     0   16 PB  268 MB  0.0 MB DATE   fd57fc    4:2
>  dog
>  sheep
>    Name        Id    Size    Used  Shared    Creation time   VDI id
>  Copies  Tag
> -  sd/dog       0   16 PB   52 MB  0.0 MB DATE   5a5cbf    4:2
> +  sd/dog       0   16 PB   56 MB  0.0 MB DATE   5a5cbf    4:2
>    sd           0   16 PB  8.0 MB  0.0 MB DATE   7927f2    4:2
> -  sd/sheep     0   16 PB  124 MB  0.0 MB DATE   8ad11e    4:2
> +  sd/sheep     0   16 PB  144 MB  0.0 MB DATE   8ad11e    4:2
>    sd/dog/allocator     0   16 PB  4.0 MB  0.0 MB DATE   936d95    4:2
>    sd/sheep/allocator     0   16 PB  4.0 MB  0.0 MB DATE   fd57fc    4:2
> diff --git a/tests/functional/082.out b/tests/functional/082.out
> index a5989a6..b3f4dd9 100644
> --- a/tests/functional/082.out
> +++ b/tests/functional/082.out
> @@ -17,6 +17,7 @@ data6
>  data7
>  data8
>  data9
> +fs.c
>  gateway.c
>  graph.c
>  group.c
> @@ -26,6 +27,9 @@ kv.c
>  local.c
>  md.c
>  migrate.c
> +mount.c
> +nfs.c
> +nfsd.c
>  oalloc.c
>  object_cache.c
>  object_list_cache.c
> @@ -40,11 +44,13 @@ store.c
>  swift.c
>  trace.c
>  vdi.c
> +xdr.c
>  zookeeper.c
>  cluster.c
>  common.c
>  dog.c
>  farm.c
> +nfs.c
>  node.c
>  object_tree.c
>  sha1_file.c
> @@ -55,9 +61,9 @@ treeview.c
>  trunk.c
>  vdi.c
>    Name        Id    Size    Used  Shared    Creation time   VDI id
>  Copies  Tag
> -  sd/dog       0   16 PB   52 MB  0.0 MB DATE   5a5cbf    4:2
> +  sd/dog       0   16 PB   56 MB  0.0 MB DATE   5a5cbf    4:2
>    sd           0   16 PB  8.0 MB  0.0 MB DATE   7927f2    4:2
> -  sd/sheep     0   16 PB  156 MB  0.0 MB DATE   8ad11e    4:2
> +  sd/sheep     0   16 PB  176 MB  0.0 MB DATE   8ad11e    4:2
>    sd/dog/allocator     0   16 PB  4.0 MB  0.0 MB DATE   936d95    4:2
>    sd/sheep/allocator     0   16 PB  316 MB  0.0 MB DATE   fd57fc    4:2
>  data1
> @@ -73,16 +79,16 @@ data7
>  data8
>  data9
>    Name        Id    Size    Used  Shared    Creation time   VDI id
>  Copies  Tag
> -  sd/dog       0   16 PB   52 MB  0.0 MB DATE   5a5cbf    4:2
> +  sd/dog       0   16 PB   56 MB  0.0 MB DATE   5a5cbf    4:2
>    sd           0   16 PB  8.0 MB  0.0 MB DATE   7927f2    4:2
> -  sd/sheep     0   16 PB  156 MB  0.0 MB DATE   8ad11e    4:2
> +  sd/sheep     0   16 PB  176 MB  0.0 MB DATE   8ad11e    4:2
>    sd/dog/allocator     0   16 PB  4.0 MB  0.0 MB DATE   936d95    4:2
>    sd/sheep/allocator     0   16 PB  316 MB  0.0 MB DATE   fd57fc    4:2
>  dog
>  sheep
>    Name        Id    Size    Used  Shared    Creation time   VDI id
>  Copies  Tag
> -  sd/dog       0   16 PB   52 MB  0.0 MB DATE   5a5cbf    4:2
> +  sd/dog       0   16 PB   56 MB  0.0 MB DATE   5a5cbf    4:2
>    sd           0   16 PB  8.0 MB  0.0 MB DATE   7927f2    4:2
> -  sd/sheep     0   16 PB  156 MB  0.0 MB DATE   8ad11e    4:2
> +  sd/sheep     0   16 PB  176 MB  0.0 MB DATE   8ad11e    4:2
>    sd/dog/allocator     0   16 PB  4.0 MB  0.0 MB DATE   936d95    4:2
>    sd/sheep/allocator     0   16 PB  4.0 MB  0.0 MB DATE   fd57fc    4:2
> --
> 1.8.1.2
>
> --
> sheepdog mailing list
> sheepdog at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/sheepdog
>



-- 
--
Best Regard
Robin Dong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20140217/57753e8e/attachment-0004.html>


More information about the sheepdog mailing list