]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/librbd: set nbd timeout due to newer kernels defaulting it on 30425/head
authorJason Dillaman <dillaman@redhat.com>
Fri, 23 Aug 2019 18:45:21 +0000 (14:45 -0400)
committerNathan Cutler <ncutler@suse.com>
Tue, 17 Sep 2019 09:01:00 +0000 (11:01 +0200)
Fixes: https://tracker.ceph.com/issues/41409
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit d1322dba2e74de21388ad524c942288683712599)

src/test/librbd/fsx.cc

index 00c6847162c2358e5c06714d4182848c4fe5d54b..c713e0b90ad9e3d83b86fdeacfd9c9fd236cc2bb 100644 (file)
@@ -1095,6 +1095,7 @@ nbd_open(const char *name, struct rbd_ctx *ctx)
        SubProcess process("rbd-nbd", SubProcess::KEEP, SubProcess::PIPE,
                           SubProcess::KEEP);
        process.add_cmd_arg("map");
+       process.add_cmd_arg("--timeout=600");
        std::string img;
        img.append(pool);
        img.append("/");