nfs4.1: clean up the session and client created in Environment.init()
Subsystems (2)
Jeff Layton
maintainerPATCH 1/1 nfs4.1: clean up the session and client created in Environment.init()
Once we've returned from this function the session and client will be abandoned on the server. Clean them up since we're finished with them at this point.
Signed-off-by Jeff Layton <[email protected]>
--- nfs4.1/server41tests/environment.py | 2 ++ 1 file changed, 2 insertions(+)
nfs4.1/server41tests/environment.py +2 -0
@@ -156,6 +156,8 @@ class Environment(testmod.Environment): # Make sure it is empty clean_dir(sess, self.opts.home) sess.c.null() + self.clean_sessions() + self.clean_clients() def _maketree(self, sess): """Make test tree"""
Signature · 1 line
2.20.1
J. Bruce Fields
AppliedQuoted 3 lines · Jeff Layton
Once we've returned from this function the session and client will be abandoned on the server. Clean them up since we're finished with them at this point.
Thanks, applied.--b.
Quoted 21 lines
Signed-off-by Jeff Layton <[email protected]>--- nfs4.1/server41tests/environment.py | 2 ++ 1 file changed, 2 insertions(+)nfs4.1/server41tests/environment.py +2
-0@@ -156,6 +156,8 @@ class Environment(testmod.Environment): # Make sure it is empty clean_dir(sess, self.opts.home) sess.c.null() + self.clean_sessions() + self.clean_clients() def _maketree(self, sess): """Make test tree"""Signature · 1 line
2.20.1