]> source.dussan.org Git - sonarqube.git/commitdiff
Update assertion of IssuesModeTest to avoid false positive
authorJulien HENRY <julien.henry@sonarsource.com>
Wed, 31 Aug 2016 12:24:45 +0000 (14:24 +0200)
committerJulien HENRY <julien.henry@sonarsource.com>
Wed, 31 Aug 2016 12:24:45 +0000 (14:24 +0200)
tests/perf/src/test/java/org/sonarsource/sonarqube/perf/scanner/suite/IssuesModeTest.java

index 046e1309f51a51ffdb85c13a8eeb1dd6147b96b7..3e2b3625e7572a952e9cf74a0fedb2c532fbebd4 100644 (file)
 package org.sonarsource.sonarqube.perf.scanner.suite;
 
 import com.sonar.orchestrator.Orchestrator;
-import com.sonar.orchestrator.build.SonarRunner;
 import com.sonar.orchestrator.build.SonarScanner;
-import org.sonarsource.sonarqube.perf.PerfRule;
-import org.sonarsource.sonarqube.perf.PerfTestCase;
 import java.io.File;
 import java.io.IOException;
 import org.junit.Before;
@@ -31,6 +28,8 @@ import org.junit.ClassRule;
 import org.junit.Rule;
 import org.junit.Test;
 import org.junit.rules.TemporaryFolder;
+import org.sonarsource.sonarqube.perf.PerfRule;
+import org.sonarsource.sonarqube.perf.PerfTestCase;
 
 public class IssuesModeTest extends PerfTestCase {
 
@@ -68,6 +67,6 @@ public class IssuesModeTest extends PerfTestCase {
     long duration = System.currentTimeMillis() - start;
     System.out.println("Issues analysis: " + duration + "ms");
 
-    perfRule.assertDurationAround(duration, 3600L);
+    perfRule.assertDurationAround(duration, 3700L);
   }
 }