]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test_librbd_fsx: sleep before exit
authorSage Weil <sage@inktank.com>
Fri, 26 Oct 2012 18:33:31 +0000 (11:33 -0700)
committerSage Weil <sage@inktank.com>
Fri, 26 Oct 2012 18:33:53 +0000 (11:33 -0700)
This gives the log time to flush to disk.  Kludgey!

Signed-off-by: Sage Weil <sage@inktank.com>
src/test/rbd/fsx.c

index 22d5db157207e0c59c8b2a18fcdaabf0e7efdc43..f895b5ffa10208bb0e90e7a45e6bbf898ae95cb8 100644 (file)
@@ -400,6 +400,7 @@ report_failure(int status)
                }
                close(fsxgoodfd);
        }
+       sleep(3);   // so the log can flush to disk.  KLUDGEY!
        exit(status);
 }