diff options
author | Julien HENRY <henryju@yahoo.fr> | 2016-12-16 13:30:50 +0100 |
---|---|---|
committer | Julien HENRY <henryju@yahoo.fr> | 2016-12-16 13:30:50 +0100 |
commit | 980ef7e31d881cb8672ecb86a1441066a7b0f297 (patch) | |
tree | a5ac4cd66f4a14bf58fe0338b4702fced8956210 /sonar-scanner-engine | |
parent | 191d48efc5fa0be4515a88314a03a8c854321358 (diff) | |
download | sonarqube-980ef7e31d881cb8672ecb86a1441066a7b0f297.tar.gz sonarqube-980ef7e31d881cb8672ecb86a1441066a7b0f297.zip |
Try to reenable failing test with a lower footprint
Diffstat (limited to 'sonar-scanner-engine')
-rw-r--r-- | sonar-scanner-engine/src/test/java/org/sonar/scanner/cpd/CpdExecutorTest.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sonar-scanner-engine/src/test/java/org/sonar/scanner/cpd/CpdExecutorTest.java b/sonar-scanner-engine/src/test/java/org/sonar/scanner/cpd/CpdExecutorTest.java index 1582a54ec69..ccf34b15f18 100644 --- a/sonar-scanner-engine/src/test/java/org/sonar/scanner/cpd/CpdExecutorTest.java +++ b/sonar-scanner-engine/src/test/java/org/sonar/scanner/cpd/CpdExecutorTest.java @@ -26,7 +26,6 @@ import java.util.Arrays; import java.util.Collections; import java.util.List; import org.junit.Before; -import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; @@ -216,12 +215,11 @@ public class CpdExecutorTest { } @Test - @Ignore("Causes memory leak") public void timeout() { for (int i = 1; i <= 2; i++) { BatchComponent component = createComponent("src/Foo" + i + ".php", 100); List<Block> blocks = new ArrayList<>(); - for (int j = 1; j <= 100000; j++) { + for (int j = 1; j <= 10000; j++) { blocks.add(Block.builder() .setResourceId(component.key()) .setIndexInFile(j) |