diff --git a/drivers/nfs.py b/drivers/nfs.py index 46169858..14b37bfd 100644 --- a/drivers/nfs.py +++ b/drivers/nfs.py @@ -281,7 +281,7 @@ def get_supported_nfs_versions(server): def get_nfs_timeout(other_config): - nfs_timeout = 100 + nfs_timeout = 200 if 'nfs-timeout' in other_config: val = int(other_config['nfs-timeout']) @@ -294,7 +294,7 @@ def get_nfs_timeout(other_config): def get_nfs_retrans(other_config): - nfs_retrans = 3 + nfs_retrans = 4 if 'nfs-retrans' in other_config: val = int(other_config['nfs-retrans']) diff --git a/tests/test_ISOSR.py b/tests/test_ISOSR.py index aa5ddf1b..253f7596 100644 --- a/tests/test_ISOSR.py +++ b/tests/test_ISOSR.py @@ -88,8 +88,8 @@ def test_attach_nfs(self, _checkmount, testHost, makedirs, 'aServer', '/aLocation', 'tcp', - retrans=3, - timeout=100, + retrans=4, + timeout=200, useroptions='', nfsversion='aNfsversionChanged') diff --git a/tests/test_NFSSR.py b/tests/test_NFSSR.py index 9d3877b5..d14f8ca5 100644 --- a/tests/test_NFSSR.py +++ b/tests/test_NFSSR.py @@ -128,9 +128,9 @@ def test_attach(self, validate_nfsversion, check_server_tcp, _testhost, '/aServerpath/UUID', 'tcp', useroptions='options', - timeout=100, + timeout=200, nfsversion='aNfsversionChanged', - retrans=3) + retrans=4) @mock.patch('NFSSR.Lock', autospec=True) def test_load_ipv6(self, mock_lock):