]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa: do not use any time related suffix for *_op_timeouts 44621/head
authorXiubo Li <xiubli@redhat.com>
Wed, 29 Dec 2021 04:31:48 +0000 (12:31 +0800)
committerXiubo Li <xiubli@redhat.com>
Tue, 18 Jan 2022 01:43:16 +0000 (09:43 +0800)
commit8487c8282fd89f86086d4149fef295c1cb1a5a74
treecfdf4932d2a08b2a2963956eed7fe52e4c98e31e
parent5c4bc70cb4ee967f727e61447e9bcfa0e4b44b80
qa: do not use any time related suffix for *_op_timeouts

When testing the upgration, for the old version the *_op_timeouts
options' type is TYPE_FLOAT, but when parsing them by strict_strtod
it will failed with error:

  strict_strtod: garbage at end of string. got: '15m'

This commit will remove the 'm' suffix by switch the time to 900,
thus the old version still could parse it successfully.

Introduced-by: d060c9a768c6974d3b68e4d408edf78bba9e0e85
https://tracker.ceph.com/issues/51705
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit bff813671603c02fdd7e51e88c4d701c2b56983b)
qa/cephfs/conf/client.yaml
qa/cephfs/conf/mds.yaml