aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-server-benchmarks
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2015-04-16 18:17:57 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2015-04-17 09:00:57 +0200
commit803a3432fd937479db19aff857a9c9357ccca5fe (patch)
treedeb2b8ead1477700e670734569935a846e8906f6 /server/sonar-server-benchmarks
parentae3b5f5b5128b07eaf8896cf9fc52b809ca7cb51 (diff)
downloadsonarqube-803a3432fd937479db19aff857a9c9357ccca5fe.tar.gz
sonarqube-803a3432fd937479db19aff857a9c9357ccca5fe.zip
SONAR-6258 Remove hack setting updated_at to 0 by only indexing file sources of current project
Diffstat (limited to 'server/sonar-server-benchmarks')
-rw-r--r--server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/SourceDbBenchmarkTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/SourceDbBenchmarkTest.java b/server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/SourceDbBenchmarkTest.java
index d29374d2f57..9bc46b01d20 100644
--- a/server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/SourceDbBenchmarkTest.java
+++ b/server/sonar-server-benchmarks/src/test/java/org/sonar/server/benchmark/SourceDbBenchmarkTest.java
@@ -73,7 +73,7 @@ public class SourceDbBenchmarkTest {
try {
long start = System.currentTimeMillis();
- SourceFileResultSetIterator it = SourceFileResultSetIterator.create(dbClient, connection, 0L);
+ SourceFileResultSetIterator it = SourceFileResultSetIterator.create(dbClient, connection, 0L, null);
while (it.hasNext()) {
SourceFileResultSetIterator.Row row = it.next();
assertThat(row.getLineUpdateRequests().size()).isEqualTo(NUMBER_OF_LINES);