From: Kefu Chai Date: Sun, 30 Sep 2018 07:54:28 +0000 (+0800) Subject: qa/workunits/mon/test_mon_config_key.py: bump up the size limit X-Git-Tag: v14.0.1~142^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F24340%2Fhead;p=ceph.git qa/workunits/mon/test_mon_config_key.py: bump up the size limit in b38b8e980cb477ab2b0f320ab51eaa0c0fec7da6, we changed the upper limit of size of `config key` 's value to 64k, so we need to update the test accordingly. Fixes: http://tracker.ceph.com/issues/36260 Signed-off-by: Kefu Chai --- diff --git a/qa/workunits/mon/test_mon_config_key.py b/qa/workunits/mon/test_mon_config_key.py index 168f6db168cd..c0cb8299d955 100755 --- a/qa/workunits/mon/test_mon_config_key.py +++ b/qa/workunits/mon/test_mon_config_key.py @@ -43,9 +43,9 @@ SIZES = [ (50, 0), (100, 0), (1000, 0), - (4096, 0), - (4097, -errno.EFBIG), - (8192, -errno.EFBIG) + (64 * 1024, 0), + (64 * 1024 + 1, -errno.EFBIG), + (128 * 1024, -errno.EFBIG) ] # tests will be randomly selected from the keys here, and the test