From b35f6a533a2f2fc4ba75fcbd892b74922b4feca7 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sun, 30 Sep 2018 15:54:28 +0800 Subject: [PATCH] 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 --- qa/workunits/mon/test_mon_config_key.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qa/workunits/mon/test_mon_config_key.py b/qa/workunits/mon/test_mon_config_key.py index 168f6db168c..c0cb8299d95 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 -- 2.39.5