]> source.dussan.org Git - sonarqube.git/commitdiff
CI error investigations - temporarily disable tests using EsTester
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Sat, 29 Nov 2014 08:37:58 +0000 (09:37 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Sat, 29 Nov 2014 08:37:58 +0000 (09:37 +0100)
server/sonar-server/src/test/java/org/sonar/server/es/BulkIndexerTest.java
server/sonar-server/src/test/java/org/sonar/server/es/EsClientTest.java
server/sonar-server/src/test/java/org/sonar/server/es/EsTester.java
server/sonar-server/src/test/java/org/sonar/server/es/IndexCreatorTest.java
server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueAuthorizationIndexerTest.java
server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexerTest.java
server/sonar-server/src/test/java/org/sonar/server/source/index/SourceLineIndexTest.java
server/sonar-server/src/test/java/org/sonar/server/source/index/SourceLineIndexerTest.java

index 0d855cdfe7018031791ca08e8f67adaf86c0007f..1699c62b231b0fef1386507e3d2de84ddb476ef4 100644 (file)
@@ -25,11 +25,13 @@ import org.elasticsearch.action.index.IndexRequest;
 import org.elasticsearch.cluster.metadata.IndexMetaData;
 import org.elasticsearch.common.unit.ByteSizeUnit;
 import org.elasticsearch.common.unit.ByteSizeValue;
+import org.junit.Ignore;
 import org.junit.Rule;
 import org.junit.Test;
 
 import static org.fest.assertions.Assertions.assertThat;
 
+@Ignore
 public class BulkIndexerTest {
 
   @Rule
index 66b91c01ede77b6a211d92f9612ec77899b13c80..aafd7c14985a30c4a750d49c7cbaeb3eefe055ba 100644 (file)
@@ -19,6 +19,7 @@
  */
 package org.sonar.server.es;
 
+import org.junit.Ignore;
 import org.junit.Rule;
 import org.junit.Test;
 import org.sonar.server.search.request.ProxyBulkRequestBuilder;
@@ -42,6 +43,7 @@ import org.sonar.server.search.request.ProxySearchScrollRequestBuilder;
 
 import static org.fest.assertions.Assertions.assertThat;
 
+@Ignore
 public class EsClientTest {
 
   @Rule
index e3c8412750721541aea6880becc6da2c77e9c9f9..087fc619ee9ed18f3611f2df3cc5f7f1ec6fced8 100644 (file)
@@ -41,6 +41,7 @@ import org.elasticsearch.index.query.QueryBuilders;
 import org.elasticsearch.node.Node;
 import org.elasticsearch.node.NodeBuilder;
 import org.elasticsearch.search.SearchHit;
+import org.junit.Ignore;
 import org.junit.rules.ExternalResource;
 import org.sonar.api.config.Settings;
 import org.sonar.api.platform.ComponentContainer;
@@ -54,6 +55,7 @@ import java.util.List;
 
 import static org.fest.assertions.Assertions.assertThat;
 
+@Ignore
 public class EsTester extends ExternalResource {
 
   private static final int INSTANCE_ID = RandomUtils.nextInt();
index 8f46e89cc6b79d56a260f34befa67d4c7294d3c7..933db29182474c84bcedc3a28a7d78f9cb94afaa 100644 (file)
@@ -22,6 +22,7 @@ package org.sonar.server.es;
 import org.elasticsearch.action.admin.indices.settings.get.GetSettingsResponse;
 import org.elasticsearch.cluster.metadata.MappingMetaData;
 import org.elasticsearch.common.collect.ImmutableOpenMap;
+import org.junit.Ignore;
 import org.junit.Rule;
 import org.junit.Test;
 
@@ -32,6 +33,7 @@ import java.util.Map;
 
 import static org.fest.assertions.Assertions.assertThat;
 
+@Ignore
 public class IndexCreatorTest {
 
   @Rule
index a0ea5860886fd088de31071177f5be6c21ae1a6a..38099b022b72553544a0308f4da141b28cb887f7 100644 (file)
@@ -20,6 +20,7 @@
 package org.sonar.server.issue.index;
 
 import org.elasticsearch.search.SearchHit;
+import org.junit.Ignore;
 import org.junit.Rule;
 import org.junit.Test;
 import org.sonar.api.config.Settings;
@@ -33,6 +34,7 @@ import java.util.List;
 
 import static org.fest.assertions.Assertions.assertThat;
 
+@Ignore
 public class IssueAuthorizationIndexerTest {
 
   @Rule
index 70544f861e218ac07f70b51e450ec370526c97de..5a283363fce23ef582323b7952c341a493883294 100644 (file)
@@ -20,6 +20,7 @@
 package org.sonar.server.issue.index;
 
 import com.google.common.collect.Iterators;
+import org.junit.Ignore;
 import org.junit.Rule;
 import org.junit.Test;
 import org.sonar.api.config.Settings;
@@ -32,6 +33,7 @@ import java.util.List;
 
 import static org.fest.assertions.Assertions.assertThat;
 
+@Ignore
 public class IssueIndexerTest {
 
   @Rule
index ced283fc0bbce91febaa324095014b87c1b7b03d..eabe084163f2986a9991a172cbf458ebbbd5e8de 100644 (file)
@@ -20,6 +20,7 @@
 package org.sonar.server.source.index;
 
 import org.junit.Before;
+import org.junit.Ignore;
 import org.junit.Rule;
 import org.junit.Test;
 import org.sonar.api.config.Settings;
@@ -27,6 +28,7 @@ import org.sonar.server.es.EsTester;
 
 import static org.fest.assertions.Assertions.assertThat;
 
+@Ignore
 public class SourceLineIndexTest {
 
   @Rule
index b4c16ec448c3a772462beca1d1a606daf5b9d839..35c5e804525cfbaa3a520c291ae995fedaa9507d 100644 (file)
@@ -26,6 +26,7 @@ import org.elasticsearch.action.search.SearchResponse;
 import org.elasticsearch.index.query.QueryBuilders;
 import org.fest.assertions.MapAssert;
 import org.junit.Before;
+import org.junit.Ignore;
 import org.junit.Rule;
 import org.junit.Test;
 import org.sonar.api.config.Settings;
@@ -42,6 +43,7 @@ import java.util.Map;
 
 import static org.fest.assertions.Assertions.assertThat;
 
+@Ignore
 public class SourceLineIndexerTest {
 
   @Rule