Re: $B1 in tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/08/2014 08:52 AM, Emmanuel Dreyfus wrote:
Emmanuel Dreyfus <manu@xxxxxxxxxx> wrote:

And what about basic/mgmt_v3-locks.t ?
It uses $B1, $B2, $B3, $H1, $H2 and $H3 without ever defining them.
Perhaps this is why that specific test randomly fails?
I was wrong, this is defined in cluster.rc:
eval "H$i=${CLUSTER_PFX}.$i";
(...)
eval "B$i=$B0/$i";

This suggests this is just a s/B1/B0/ bug in self-heal.t

Right, I just went through the bugs and found bugs/bug-1095097.t seems to be using B1 without using the cluster framework and cleanup does not handle it. You end up with a /brick1 on your root filesystem with glusterfs extended attributes set.

Avra, perhaps you should modify the test case to this:
diff --git a/tests/bugs/bug-1095097.t b/tests/bugs/bug-1095097.t

-TEST $CLI volume create $V0 $H0:$B0/brick1 $H0:$B1/brick1;
+TEST $CLI volume create $V0 $H0:$B0/brick1 $H0:$B0/brick3;


_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-devel




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux