Revert "Destroy test VMs on clean (#28818)"

This reverts commit f66234bdd5.
This commit is contained in:
Jason Tedor 2018-02-25 21:49:36 -05:00
parent f66234bdd5
commit 57225652b3
1 changed files with 0 additions and 4 deletions

View File

@ -258,9 +258,6 @@ class VagrantTestPlugin implements Plugin<Project> {
private static void createVagrantBoxesTasks(Project project) { private static void createVagrantBoxesTasks(Project project) {
assert project.extensions.esvagrant.boxes != null assert project.extensions.esvagrant.boxes != null
final Task clean = project.tasks.clean
assert clean != null
assert project.tasks.stop != null assert project.tasks.stop != null
Task stop = project.tasks.stop Task stop = project.tasks.stop
@ -337,7 +334,6 @@ class VagrantTestPlugin implements Plugin<Project> {
} }
destroy.onlyIf { vagrantDestroy } destroy.onlyIf { vagrantDestroy }
update.mustRunAfter(destroy) update.mustRunAfter(destroy)
clean.dependsOn(destroy)
Task up = project.tasks.create("vagrant${boxTask}#up", VagrantCommandTask) { Task up = project.tasks.create("vagrant${boxTask}#up", VagrantCommandTask) {
command 'up' command 'up'