diff mbox series

[pynfs] DELEG22: Return delegations so clean_diff() works

Message ID 1680380632-22522-1-git-send-email-dai.ngo@oracle.com (mailing list archive)
State New, archived
Headers show
Series [pynfs] DELEG22: Return delegations so clean_diff() works | expand

Commit Message

Dai Ngo April 1, 2023, 8:23 p.m. UTC
From: root <root@nfsvmd07.us.oracle.com>

WARNING: could not clean testdir due to:
Making sure b'DELEG22-1' is writable: operation OP_SETATTR should return NFS4_OK, instead got NFS4ERR_DELAY

Signed-off-by: Dai Ngo <dai.ngo@oracle.com>
---
 nfs4.0/servertests/st_delegation.py | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/nfs4.0/servertests/st_delegation.py b/nfs4.0/servertests/st_delegation.py
index ba49cf9..2318ba7 100644
--- a/nfs4.0/servertests/st_delegation.py
+++ b/nfs4.0/servertests/st_delegation.py
@@ -783,3 +783,5 @@  def testServerSelfConflict2(t,env):
     deleg_info = res.resarray[-2].switch.switch.delegation
     if deleg_info.delegation_type == OPEN_DELEGATE_NONE:
         t.fail("Could not get delegation")
+    res = c.compound([op.putfh(fh), op.delegreturn(deleg_info.read.stateid)])
+    check(res)