From 13489ff3a7a6bd7497ce75c258a7964b048beca8 Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Thu, 13 Apr 2017 14:17:11 -0700 Subject: [PATCH] Test: Fix repro line for platformTest (#24095) This was accidentally being added to packagingTest, which then had two repro lines. --- .../org/elasticsearch/gradle/vagrant/VagrantTestPlugin.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/main/groovy/org/elasticsearch/gradle/vagrant/VagrantTestPlugin.groovy b/buildSrc/src/main/groovy/org/elasticsearch/gradle/vagrant/VagrantTestPlugin.groovy index 66574f5f289..336ee207abf 100644 --- a/buildSrc/src/main/groovy/org/elasticsearch/gradle/vagrant/VagrantTestPlugin.groovy +++ b/buildSrc/src/main/groovy/org/elasticsearch/gradle/vagrant/VagrantTestPlugin.groovy @@ -477,10 +477,10 @@ class VagrantTestPlugin implements Plugin { } } } - packaging.doFirst { + platform.doFirst { project.gradle.addListener(platformReproListener) } - packaging.doLast { + platform.doLast { project.gradle.removeListener(platformReproListener) } if (project.extensions.esvagrant.boxes.contains(box)) {