Linux-NFS Archive mirror
 help / color / mirror / Atom feed
* [pynfs PATCH v2] DELEG22: Return delegations so clean_diff() works
@ 2023-04-01 20:29 Dai Ngo
  0 siblings, 0 replies; only message in thread
From: Dai Ngo @ 2023-04-01 20:29 UTC (permalink / raw
  To: calum.mackay; +Cc: linux-nfs

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 --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)
-- 
2.27.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-01 20:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-01 20:29 [pynfs PATCH v2] DELEG22: Return delegations so clean_diff() works Dai Ngo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).