Browse Source

SONAR-9796 remove max size limit on index field Tests.Test.stacktrace

tags/6.6-RC1
Sébastien Lesaint 6 years ago
parent
commit
b9a406ae37

+ 1
- 1
server/sonar-server/src/main/java/org/sonar/server/test/index/TestIndexDefinition.java View File

@@ -70,7 +70,7 @@ public class TestIndexDefinition implements IndexDefinition {
mapping.keywordFieldBuilder(FIELD_STATUS).disableNorms().disableSearch().build();
mapping.createLongField(FIELD_DURATION_IN_MS);
mapping.keywordFieldBuilder(FIELD_MESSAGE).disableNorms().disableSearch().build();
mapping.keywordFieldBuilder(FIELD_STACKTRACE).disableNorms().disableSearch().build();
mapping.keywordFieldBuilder(FIELD_STACKTRACE).disableNorms().disableSearch().disableSortingAndAggregating().build();
mapping.setProperty(FIELD_COVERED_FILES, ImmutableMap.of("type", "nested", "properties", ImmutableMap.of(
FIELD_COVERED_FILE_UUID, ImmutableMap.of("type", FIELD_TYPE_KEYWORD, "index", INDEX_SEARCHABLE),
FIELD_COVERED_FILE_LINES, ImmutableMap.of("type", "integer"))));

+ 2
- 2
tests/projects/testing/xoo-sample-with-coverage-per-test/src/test/xoo/sample/SampleTest.xoo.test
File diff suppressed because it is too large
View File


+ 1
- 0
tests/src/test/java/org/sonarqube/tests/Category2Suite.java View File

@@ -103,6 +103,7 @@ public class Category2Suite {

@ClassRule
public static final Orchestrator ORCHESTRATOR = Orchestrator.builderEnv()
.setServerProperty("sonar.search.httpPort", "9025")
.addPlugin(xooPlugin())

// issue

+ 1
- 1
tests/src/test/resources/test/CoverageTrackingTest/tests-expected.json
File diff suppressed because it is too large
View File


Loading…
Cancel
Save