diff options
author | Daniel Schwarz <daniel.schwarz@sonarsource.com> | 2017-11-23 11:13:26 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-12-05 09:29:16 +0100 |
commit | d987a6a527bc10734fd9402ce728d27359ccdc41 (patch) | |
tree | d7ab4aa81326e522a512d8674f6a59ba282c45ae /tests | |
parent | 05677f8e3e0a0a281dd6adbbcbad9a4be7cfaea6 (diff) | |
download | sonarqube-d987a6a527bc10734fd9402ce728d27359ccdc41.tar.gz sonarqube-d987a6a527bc10734fd9402ce728d27359ccdc41.zip |
SONAR-10116 Better scalability of loading of project measures
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/test/java/util/ItUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/test/java/util/ItUtils.java b/tests/src/test/java/util/ItUtils.java index 7a9fbafcd54..9d09abf7dfb 100644 --- a/tests/src/test/java/util/ItUtils.java +++ b/tests/src/test/java/util/ItUtils.java @@ -344,7 +344,7 @@ public class ItUtils { @CheckForNull public static Measure getMeasureWithVariation(Orchestrator orchestrator, String componentKey, String metricKey) { Measures.ComponentWsResponse response = newWsClient(orchestrator).measures().component(new ComponentRequest() - .setComponentKey(componentKey) + .setComponent(componentKey) .setMetricKeys(singletonList(metricKey)) .setAdditionalFields(singletonList("periods"))); List<Measure> measures = response.getComponent().getMeasuresList(); |