Skip to content

Commit

Permalink
initial pyro5 remote door adaptation
Browse files Browse the repository at this point in the history
  • Loading branch information
pevogam committed Oct 17, 2024
1 parent 6cb00dc commit 1072860
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tp_folder/tests/shared_manage_vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def run(test, params, env):
door.SRC_CONTROL_DIR = os.path.join(vm.params.get("original_test_data_path"), "..", "controls")
door.DUMP_CONTROL_DIR = test.logdir
logging.info("Running custom control file on %s", vm.name)
control_path = door.set_subcontrol_parameter_object(vm.params["control_file"], vm.params)
control_path = door.set_subcontrol_parameter_object(vm.params["control_file"], "virttest.utils_params.Params", vm.params)
door.run_subcontrol(session, control_path)
extra_timeout = int(params.get("extra_timeout", "0"))
logging.info("Parameters will be available for extra %s seconds", extra_timeout)
Expand Down
1 change: 1 addition & 0 deletions tp_folder/tests/tutorial_step_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ def run(test, params, env):
log.info("Performing extra hostname check using shared parameters control")
control_path = server_vm.params["control_file"].replace("step_3", "step_3.2")
control_path = door.set_subcontrol_parameter_object(control_path,
"virttest.utils_params.Params",
server_vm.params)
door.run_subcontrol(server_vm.session, control_path)
failed_checks = server_vm.params["failed_checks"]
Expand Down

0 comments on commit 1072860

Please sign in to comment.