From: Sage Weil Date: Sat, 29 Mar 2014 21:25:47 +0000 (-0700) Subject: java/test: ceph.file.layout xattr is not there now X-Git-Tag: v0.79~56 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b8ea65694faf59f12f285a65dc21753dab20ba11;p=ceph.git java/test: ceph.file.layout xattr is not there now Signed-off-by: Sage Weil --- diff --git a/src/java/test/com/ceph/fs/CephMountTest.java b/src/java/test/com/ceph/fs/CephMountTest.java index a86b4e504a8e..e917dcc4bd76 100644 --- a/src/java/test/com/ceph/fs/CephMountTest.java +++ b/src/java/test/com/ceph/fs/CephMountTest.java @@ -826,7 +826,6 @@ public class CephMountTest { /* list xattrs */ String[] xattrs = mount.listxattr(path); - /* the ceph.file.layout xattr exists for all files automatically */ assertTrue(xattrs.length == 3); int found = 0; for (String xattr : xattrs) { @@ -838,13 +837,9 @@ public class CephMountTest { found++; continue; } - if (xattr.compareTo("ceph.file.layout") == 0) { - found++; - continue; - } System.out.println("found unwanted xattr: " + xattr); } - assertTrue(found == 3); + assertTrue(found == 2); /* get first xattr by looking up length */ long attr1_len = mount.getxattr(path, "user.attr1", null);