]> source.dussan.org Git - sonarqube.git/commitdiff
Remove test that has too many false-positives
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Wed, 28 May 2014 09:40:51 +0000 (11:40 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Wed, 28 May 2014 09:40:51 +0000 (11:40 +0200)
sonar-server/src/test/java/org/sonar/server/db/migrations/v36/ViolationMigrationTest.java

index b54cb99b845add73dd10bc5e2b1f763c8fa4c4ac..5e03e78c9c7830cdf7f05e803af28372b2bd5aab 100644 (file)
@@ -24,8 +24,6 @@ import org.junit.Test;
 import org.sonar.api.config.Settings;
 import org.sonar.core.persistence.TestDatabase;
 
-import java.util.Set;
-
 import static org.fest.assertions.Assertions.assertThat;
 
 public class ViolationMigrationTest {
@@ -55,11 +53,5 @@ public class ViolationMigrationTest {
 
   private void assertMigrationEnded() {
     assertThat(db.count("select count(id) from rule_failures")).isEqualTo(0);
-
-    // Progress thread is dead
-    Set<Thread> threads = Thread.getAllStackTraces().keySet();
-    for (Thread thread : threads) {
-      assertThat(thread.getName()).isNotEqualTo(Progress.THREAD_NAME);
-    }
   }
 }