]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tasks/cephfs: fix eviction test for volumeclient
authorJohn Spray <john.spray@redhat.com>
Sun, 6 Nov 2016 21:04:14 +0000 (21:04 +0000)
committerJohn Spray <john.spray@redhat.com>
Wed, 7 Dec 2016 00:45:46 +0000 (00:45 +0000)
It was not correct to expect a client to block after
eviction unless it was also deauthorised.  I guess
this was working with fuse because fuse does a less
good job at re-establishing a session than the kclient?

Signed-off-by: John Spray <john.spray@redhat.com>
tasks/cephfs/test_volume_client.py

index d2925e5548c8ba83cbfdec15863f2e37ff37d727..1549ce64f4e7da0629c581bb56c832b6e18ab6f5 100644 (file)
@@ -477,6 +477,7 @@ vc.disconnect()
         # one volume.
         self._volume_client_python(self.mount_b, dedent("""
             vp = VolumePath("{group_id}", "{volume_id}")
+            vc.deauthorize(vp, "{guest_entity}")
             vc.evict("{guest_entity}", volume_path=vp)
         """.format(
             group_id=group_id,