Fix test_parse_get_node_args
Looks like xattr_supported_check was missing ERANGE Change-Id: I82263e48e836f38f77d81593c8435f64a4728b5d
This commit is contained in:
parent
4643412bd1
commit
12a7b42062
@ -1367,7 +1367,8 @@ def xattr_supported_check():
|
||||
fd, tmppath = mkstemp()
|
||||
xattr.setxattr(fd, 'user.swift.testing_key', big_val)
|
||||
except IOError as e:
|
||||
if errno.errorcode.get(e.errno) in ('ENOSPC', 'ENOTSUP', 'EOPNOTSUPP'):
|
||||
if errno.errorcode.get(e.errno) in ('ENOSPC', 'ENOTSUP', 'EOPNOTSUPP',
|
||||
'ERANGE'):
|
||||
# filesystem does not support xattr of this size
|
||||
return False
|
||||
raise
|
||||
|
Loading…
x
Reference in New Issue
Block a user