aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-duplications
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2011-12-14 18:29:18 +0400
committerEvgeny Mandrikov <mandrikov@gmail.com>2011-12-14 18:29:18 +0400
commit62a1cb35eae3d226c64220139dd45fad20fe9082 (patch)
treec3f88d388b88a807a81b41d1740de738953d9db0 /sonar-duplications
parent5772c4892c4529f17d2355df7dd02bc9cc8d497f (diff)
downloadsonarqube-62a1cb35eae3d226c64220139dd45fad20fe9082.tar.gz
sonarqube-62a1cb35eae3d226c64220139dd45fad20fe9082.zip
Fix test
Diffstat (limited to 'sonar-duplications')
-rw-r--r--sonar-duplications/src/test/java/org/sonar/duplications/detector/suffixtree/SuffixTreeCloneDetectionAlgorithmTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-duplications/src/test/java/org/sonar/duplications/detector/suffixtree/SuffixTreeCloneDetectionAlgorithmTest.java b/sonar-duplications/src/test/java/org/sonar/duplications/detector/suffixtree/SuffixTreeCloneDetectionAlgorithmTest.java
index 1a3624dadd5..7d80e899859 100644
--- a/sonar-duplications/src/test/java/org/sonar/duplications/detector/suffixtree/SuffixTreeCloneDetectionAlgorithmTest.java
+++ b/sonar-duplications/src/test/java/org/sonar/duplications/detector/suffixtree/SuffixTreeCloneDetectionAlgorithmTest.java
@@ -69,7 +69,7 @@ public class SuffixTreeCloneDetectionAlgorithmTest extends DetectorTestCase {
CloneIndex index = createIndex();
List<Block> fileBlocks = Lists.newArrayList();
int indexInFile = 0;
- for (int i = 0; i < 5000; i++) {
+ for (int i = 0; i < 2000; i++) {
Block block = newBlock("x", new ByteArray("01"), indexInFile);
fileBlocks.add(block);
indexInFile++;