[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 08/11] tests/acceptance/virtiofs_submounts.py: remove launch_v
From: |
Cleber Rosa |
Subject: |
[PATCH v3 08/11] tests/acceptance/virtiofs_submounts.py: remove launch_vm() |
Date: |
Mon, 12 Apr 2021 00:46:41 -0400 |
The LinuxTest class' launch_and_wait() method now behaves the same way
as this test's custom launch_vm(), so let's just use the upper layer
(common) method.
Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
---
tests/acceptance/virtiofs_submounts.py | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/tests/acceptance/virtiofs_submounts.py
b/tests/acceptance/virtiofs_submounts.py
index e019d3b896b..d77ee356740 100644
--- a/tests/acceptance/virtiofs_submounts.py
+++ b/tests/acceptance/virtiofs_submounts.py
@@ -134,9 +134,6 @@ def set_up_virtiofs(self):
'-numa',
'node,memdev=mem')
- def launch_vm(self):
- self.launch_and_wait()
-
def set_up_nested_mounts(self):
scratch_dir = os.path.join(self.shared_dir, 'scratch')
try:
@@ -225,7 +222,7 @@ def test_pre_virtiofsd_set_up(self):
self.set_up_nested_mounts()
self.set_up_virtiofs()
- self.launch_vm()
+ self.launch_and_wait()
self.mount_in_guest()
self.check_in_guest()
@@ -235,14 +232,14 @@ def test_pre_launch_set_up(self):
self.set_up_nested_mounts()
- self.launch_vm()
+ self.launch_and_wait()
self.mount_in_guest()
self.check_in_guest()
def test_post_launch_set_up(self):
self.set_up_shared_dir()
self.set_up_virtiofs()
- self.launch_vm()
+ self.launch_and_wait()
self.set_up_nested_mounts()
@@ -252,7 +249,7 @@ def test_post_launch_set_up(self):
def test_post_mount_set_up(self):
self.set_up_shared_dir()
self.set_up_virtiofs()
- self.launch_vm()
+ self.launch_and_wait()
self.mount_in_guest()
self.set_up_nested_mounts()
@@ -265,7 +262,7 @@ def test_two_runs(self):
self.set_up_nested_mounts()
self.set_up_virtiofs()
- self.launch_vm()
+ self.launch_and_wait()
self.mount_in_guest()
self.check_in_guest()
--
2.30.2
- [PATCH v3 00/11] Acceptance Test: introduce base class for Linux based tests, Cleber Rosa, 2021/04/12
- [PATCH v3 01/11] tests/acceptance/virtiofs_submounts.py: add missing accel tag, Cleber Rosa, 2021/04/12
- [PATCH v3 02/11] tests/acceptance/virtiofs_submounts.py: evaluate string not length, Cleber Rosa, 2021/04/12
- [PATCH v3 03/11] Python: add utility function for retrieving port redirection, Cleber Rosa, 2021/04/12
- [PATCH v3 04/11] Acceptance Tests: move useful ssh methods to base class, Cleber Rosa, 2021/04/12
- [PATCH v3 05/11] Acceptance Tests: add port redirection for ssh by default, Cleber Rosa, 2021/04/12
- [PATCH v3 06/11] Acceptance Tests: make username/password configurable, Cleber Rosa, 2021/04/12
- [PATCH v3 07/11] Acceptance Tests: set up SSH connection by default after boot for LinuxTest, Cleber Rosa, 2021/04/12
- [PATCH v3 08/11] tests/acceptance/virtiofs_submounts.py: remove launch_vm(),
Cleber Rosa <=
- [PATCH v3 09/11] Acceptance Tests: add basic documentation on LinuxTest base class, Cleber Rosa, 2021/04/12
- [PATCH v3 10/11] Acceptance Tests: introduce CPU hotplug test, Cleber Rosa, 2021/04/12
- [PATCH v3 11/11] tests/acceptance/virtiofs_submounts.py: fix setup of SSH pubkey, Cleber Rosa, 2021/04/12