DictionaryTest: skip containsWordPerformanceTest in coverage enabled builds
authorYann Cébron <yann.cebron@jetbrains.com>
Thu, 22 Oct 2015 08:04:13 +0000 (10:04 +0200)
committerYann Cébron <yann.cebron@jetbrains.com>
Thu, 22 Oct 2015 08:04:13 +0000 (10:04 +0200)
spellchecker/testSrc/com/intellij/spellchecker/compress/DictionaryTest.java

index ea623553325e0d1700749f6378cc9bbea052e78a..1c33a48093a6b0f40927a0019377c4e469d8abf9 100644 (file)
@@ -88,6 +88,8 @@ public class DictionaryTest {
   }
 
   private void containsWordPerformanceTest(final Dictionary dictionary, int time) {
+    if (PlatformTestUtil.COVERAGE_ENABLED_BUILD) return;
+
     final Set<String> wordsToCheck = createWordSets(dictionary, 50000, 1).first;
     PlatformTestUtil.startPerformanceTest("contains word", time, new ThrowableRunnable() {
       @Override