]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test: unmount when finished ino_release_cb 40418/head
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 25 Mar 2021 20:35:48 +0000 (13:35 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 25 Mar 2021 20:35:48 +0000 (13:35 -0700)
Otherwise the client will be evicted.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/test/fs/test_ino_release_cb.cc

index cff4b9405c3b410d7326513da986b23e32c532d4..688f9ad7f67e84cf650676ab2e5cf34a74f893ed 100644 (file)
@@ -75,5 +75,7 @@ int main(int argc, char *argv[])
     sleep(45);
 
        assert(cb_done);
+       ceph_unmount(cmount);
+       ceph_release(cmount);
        return 0;
 }