]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
java/test: ceph.file.layout xattr is not there now
authorSage Weil <sage@inktank.com>
Sat, 29 Mar 2014 21:25:47 +0000 (14:25 -0700)
committerSage Weil <sage@inktank.com>
Sat, 29 Mar 2014 21:25:47 +0000 (14:25 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
src/java/test/com/ceph/fs/CephMountTest.java

index a86b4e504a8e926374cd98657377fc1b195ac906..e917dcc4bd7606f1f14dce4128485072fd6bd3fc 100644 (file)
@@ -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);