]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/cephfs: add code for when config is None in __init__ 37982/head
authorRishabh Dave <ridave@redhat.com>
Mon, 9 Nov 2020 06:22:11 +0000 (11:52 +0530)
committerRishabh Dave <ridave@redhat.com>
Tue, 10 Nov 2020 10:17:24 +0000 (15:47 +0530)
commitce32cf4f815a460ddd38f8d6e5e493d9263f22bc
tree6196f8a2a7182c6ba0c92c39a798d37023a0f466
parentd85e4dca6b7f0427dd816f7e1ae1242e66ae2803
qa/cephfs: add code for when config is None in __init__

When tests are launched with kernel client using vstart_runner.py,
config is None and, therefore, the call "config.get()" leads to a crash.
Assigning self.rbytes None is important since leaving it undefined will
to lead a crash since the code executed later assumes that self.rbytes
is defined.

Fixes: https://tracker.ceph.com/issues/48147
Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/cephfs/kernel_mount.py