| Index: perf_insights/perf_insights/endpoints/cloud_mapper/test.py
|
| diff --git a/perf_insights/perf_insights/endpoints/cloud_mapper/test.py b/perf_insights/perf_insights/endpoints/cloud_mapper/test.py
|
| index 4bc73339291780cc1a9b00d45213dafa45be595d..f66e7fe5788473c4868a1e7d46f6c3f9b0c7a054 100644
|
| --- a/perf_insights/perf_insights/endpoints/cloud_mapper/test.py
|
| +++ b/perf_insights/perf_insights/endpoints/cloud_mapper/test.py
|
| @@ -18,20 +18,15 @@ Use of this source code is governed by a BSD-style license that can be
|
| found in the LICENSE file.
|
| -->
|
| <link rel="import" href="/perf_insights/function_handle.html">
|
| -<link rel="import"
|
| - href="/tracing/metrics/system_health/system_health_metric.html">
|
| <link rel="import" href="/tracing/value/value.html">
|
|
|
| <script>
|
| tr.exportTo('pi.m', function() {
|
|
|
| function railMapFunction(results, runInfo, model) {
|
| - var health = tr.metrics.sh.SystemHealthMetric.forModel(model);
|
| - if (health === undefined) {
|
| - return;
|
| - }
|
| - results.addValue(new tr.v.DictValue(runInfo, 'railScore',
|
| - {overallScore: health}));
|
| + results.addValue(new tr.v.DictValue(
|
| + runInfo, 'userExpectationsCount',
|
| + model.userModel.expectations.length));
|
| }
|
| pi.FunctionRegistry.register(railMapFunction);
|
|
|
|
|