From d27abe28a22e394be36898d48f131c2204df8af2 Mon Sep 17 00:00:00 2001 From: Olga Strizhenko Date: Wed, 11 Apr 2018 15:44:11 +0300 Subject: [PATCH] Spellchecker: performance test, reduce number of typos to prevent PCE --- .../spellchecker/inspection/SpellcheckerPerformanceTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spellchecker/testSrc/com/intellij/spellchecker/inspection/SpellcheckerPerformanceTest.java b/spellchecker/testSrc/com/intellij/spellchecker/inspection/SpellcheckerPerformanceTest.java index 1f24d6642da9..6a708905283f 100644 --- a/spellchecker/testSrc/com/intellij/spellchecker/inspection/SpellcheckerPerformanceTest.java +++ b/spellchecker/testSrc/com/intellij/spellchecker/inspection/SpellcheckerPerformanceTest.java @@ -44,7 +44,7 @@ public class SpellcheckerPerformanceTest extends SpellcheckerInspectionTestCase } public void testLargeTextFileWithManyTypos() { - final int typoCount = 50000; + final int typoCount = 40000; @SuppressWarnings("SpellCheckingInspection") String text = StringUtil.repeat("aaaaaaaaa ", typoCount); // about 0.5M long start = System.currentTimeMillis();