Skip to content

Commit

Permalink
Merge pull request avocado-framework#2434 from luckyh/fix-env-vms
Browse files Browse the repository at this point in the history
Fix the env vms issue
  • Loading branch information
luckyh authored Feb 19, 2020
2 parents 814de27 + 50fe7d6 commit 7e6a864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virttest/env_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ def preprocess(test, params, env):
# Destroy and remove VMs that are no longer needed in the environment or
# leave them untouched if they have to be disregarded only for this test
requested_vms = params.objects("vms")
keep_unrequested_vms = params.get_boolean("keep_env_vms", "no")
keep_unrequested_vms = params.get_boolean("keep_env_vms", False)
for key in list(env.keys()):
vm = env[key]
if not isinstance(vm, virt_vm.BaseVM):
Expand Down

0 comments on commit 7e6a864

Please sign in to comment.