summaryrefslogtreecommitdiffstats
path: root/tests/functional/nfs_ganesha
diff options
context:
space:
mode:
authorVitalii Koriakov <vkoriako@redhat.com>2019-01-30 11:02:05 +0200
committerVitalii Koriakov <vkoriako@redhat.com>2019-01-30 12:10:57 +0200
commitcfb92a9a3473f2d163ec8f6453a55d32d113221e (patch)
tree7a63126ac866cad939d8ce2eccca33eb7c6d4d6a /tests/functional/nfs_ganesha
parentcb063043605df1ab810d30ae1c273cdfe7150f3f (diff)
Delete quorum method from old file. Added fixes for flake8
Change-Id: I2acf835a4cf7301c64c4c8a9423f78672cdf9aa4 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
Diffstat (limited to 'tests/functional/nfs_ganesha')
-rwxr-xr-x[-rw-r--r--]tests/functional/nfs_ganesha/test_nfs_ganesha_sanity.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/functional/nfs_ganesha/test_nfs_ganesha_sanity.py b/tests/functional/nfs_ganesha/test_nfs_ganesha_sanity.py
index 05caf4a43..1e0956508 100644..100755
--- a/tests/functional/nfs_ganesha/test_nfs_ganesha_sanity.py
+++ b/tests/functional/nfs_ganesha/test_nfs_ganesha_sanity.py
@@ -69,16 +69,16 @@ class TestNfsGaneshaSanity(NfsGaneshaVolumeBaseClass):
# Running kernel untar now,single loop for the sanity test
g.log.info("Running kernel untars now")
for mount_obj in self.mounts:
- cmd = ("cd %s ;mkdir $(hostname);cd $(hostname);"
- "wget https://www.kernel.org/pub/linux/kernel/v2.6"
- "/linux-2.6.1.tar.gz;"
- "tar xvf linux-2.6.1.tar.gz" % (mount_obj.mountpoint))
- ret, out, err = g.run(mount_obj.client_system, cmd)
- if ret == 0:
- g.log.info("Successfully untared the tarball!")
- else:
- g.log.error("ERROR ! Kernel untar errored out!")
- self.assertEqual(ret, 0, "Kernel untar failed!")
+ cmd = ("cd %s ;mkdir $(hostname);cd $(hostname);"
+ "wget https://www.kernel.org/pub/linux/kernel/v2.6"
+ "/linux-2.6.1.tar.gz;"
+ "tar xvf linux-2.6.1.tar.gz" % mount_obj.mountpoint)
+ ret, out, err = g.run(mount_obj.client_system, cmd)
+ if ret == 0:
+ g.log.info("Successfully untared the tarball!")
+ else:
+ g.log.error("ERROR ! Kernel untar errored out!")
+ self.assertEqual(ret, 0, "Kernel untar failed!")
# Check for crashes after kernel untar
g.log.info("Checking for Cluster Status after kernel untar")