generic currentstateid test of should not require pnfs-aware session
diff mbox series

Message ID 20200721191628.16970-1-tigran.mkrtchyan@desy.de
State New
Headers show
Series
  • generic currentstateid test of should not require pnfs-aware session
Related show

Commit Message

Tigran Mkrtchyan July 21, 2020, 7:16 p.m. UTC
CSID8 doesn't depend on pnfs capability of a server, thus should not
create pnfs-aware session.

Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
---
 nfs4.1/server41tests/st_current_stateid.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bruce Fields July 22, 2020, 2:11 p.m. UTC | #1
On Tue, Jul 21, 2020 at 09:16:28PM +0200, Tigran Mkrtchyan wrote:
> CSID8 doesn't depend on pnfs capability of a server, thus should not
> create pnfs-aware session.

Thanks!--b.

> 
> Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
> ---
>  nfs4.1/server41tests/st_current_stateid.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/nfs4.1/server41tests/st_current_stateid.py b/nfs4.1/server41tests/st_current_stateid.py
> index 8882e96..6480ae9 100644
> --- a/nfs4.1/server41tests/st_current_stateid.py
> +++ b/nfs4.1/server41tests/st_current_stateid.py
> @@ -164,7 +164,7 @@ def testOpenSetattr(t, env):
>      CODE: CSID8
>      """
>      size = 8
> -    sess = env.c1.new_pnfs_client_session(env.testname(t))
> +    sess = env.c1.new_client_session(env.testname(t))
>  
>      open_op = open_create_file_op(sess, env.testname(t), open_create=OPEN4_CREATE)
>      res = sess.compound( open_op +
> -- 
> 2.26.2

Patch
diff mbox series

diff --git a/nfs4.1/server41tests/st_current_stateid.py b/nfs4.1/server41tests/st_current_stateid.py
index 8882e96..6480ae9 100644
--- a/nfs4.1/server41tests/st_current_stateid.py
+++ b/nfs4.1/server41tests/st_current_stateid.py
@@ -164,7 +164,7 @@  def testOpenSetattr(t, env):
     CODE: CSID8
     """
     size = 8
-    sess = env.c1.new_pnfs_client_session(env.testname(t))
+    sess = env.c1.new_client_session(env.testname(t))
 
     open_op = open_create_file_op(sess, env.testname(t), open_create=OPEN4_CREATE)
     res = sess.compound( open_op +