Without this the qa test may fail by evicting the unresponsive
client after 300 seconds.
Fixes: https://tracker.ceph.com/issues/61394
Signed-off-by: Xiubo Li <xiubli@redhat.com>
ret = ceph_rename(cmount, "2", "1");
assert(ret >= 0);
- ceph_unmount(cmount);
printf("child exits\n");
} else {
ret = ceph_mkdirs(cmount, "1/2", 0755);
ret = ceph_statx(cmount, ".", &stx, 0, 0);
assert(ret >= 0);
- printf("waiting for crash\n");
- sleep(60);
+ printf("waiting for 60 seconds to see whether will it crash\n");
+ sleep(60);
+ printf("parent exits\n");
}
+ ceph_unmount(cmount);
return 0;
}