Skip to content

Commit

Permalink
Fix PluginBuildPluginTests on mac
Browse files Browse the repository at this point in the history
We skip the thread leak check because it seems Gradle is leaking them
and there's nothing we can do.

Closes elastic#47417.
  • Loading branch information
alpar-t committed Oct 4, 2019
1 parent 2b0b092 commit 6afc8d8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.elasticsearch.gradle.plugin;

import com.carrotsearch.randomizedtesting.annotations.ThreadLeakScope;
import org.elasticsearch.gradle.BwcVersions;
import org.elasticsearch.gradle.test.GradleUnitTestCase;
import org.gradle.api.Project;
Expand All @@ -12,6 +13,8 @@

import java.util.stream.Collectors;

// see https://github.com/elastic/elasticsearch/issues/47417 Gradle leaks threads on Mac
@ThreadLeakScope(ThreadLeakScope.Scope.NONE)
public class PluginBuildPluginTests extends GradleUnitTestCase {

private Project project;
Expand Down

0 comments on commit 6afc8d8

Please sign in to comment.