mirror of
https://github.com/ceph/ceph
synced 2024-12-25 21:03:31 +00:00
qa: fixup quota values exceeding 64 bit signed int value
The test does the following:
setfattr -n ceph.quota.max_bytes -v 8388608Ti .
This failes since 8388608Ti exceeds 64 bit signed integer value.
Change that to the approprivate value and expect faliure when
quota is set for this exceeded value.
Fixes: http://tracker.ceph.com/issues/55940
Introduced-by: 7330651482
Signed-off-by: Venky Shankar <vshankar@redhat.com>
This commit is contained in:
parent
3286d478e7
commit
ad7eb17266
@ -106,8 +106,8 @@ expect_false setfattr -n ceph.quota.max_bytes -v -9223372036854775809 .
|
||||
|
||||
setfattr -n ceph.quota.max_bytes -v 0 .
|
||||
setfattr -n ceph.quota.max_bytes -v 1Ti .
|
||||
setfattr -n ceph.quota.max_bytes -v 8388608Ti .
|
||||
expect_false setfattr -n ceph.quota.max_bytes -v 8388609Ti .
|
||||
setfattr -n ceph.quota.max_bytes -v 8388607Ti .
|
||||
expect_false setfattr -n ceph.quota.max_bytes -v 8388608Ti .
|
||||
expect_false setfattr -n ceph.quota.max_bytes -v -1Ti .
|
||||
expect_false setfattr -n ceph.quota.max_bytes -v -8388609Ti .
|
||||
expect_false setfattr -n ceph.quota.max_bytes -v -8388610Ti .
|
||||
|
Loading…
Reference in New Issue
Block a user