Skip to content

Commit 6b1b5d6

Browse files
committed
Fix ClusterStatsMonitoringDocTests
1 parent 9ad7868 commit 6b1b5d6

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

x-pack/plugin/monitoring/src/test/java/org/elasticsearch/xpack/monitoring/collector/cluster/ClusterStatsMonitoringDocTests.java

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,38 @@ public void testToXContent() throws IOException {
754754
},
755755
"repositories": {}
756756
},
757-
"repositories": {}
757+
"repositories": {},
758+
"ccs_telemetry": {
759+
"total": 0,
760+
"success": 0,
761+
"skipped": 0,
762+
"took": {
763+
"max": 0,
764+
"avg": 0,
765+
"p90": 0
766+
},
767+
"took_mrt_true": {
768+
"max": 0,
769+
"avg": 0,
770+
"p90": 0
771+
},
772+
"took_mrt_false": {
773+
"max": 0,
774+
"avg": 0,
775+
"p90": 0
776+
},
777+
"remotes_per_search_max": 0,
778+
"remotes_per_search_avg": 0.0,
779+
"failure_reasons": {
780+
},
781+
"features": {
782+
},
783+
"clients": {
784+
},
785+
"clusters": {
786+
"count": 0
787+
}
788+
}
758789
},
759790
"cluster_state": {
760791
"nodes_hash": 1314980060,

0 commit comments

Comments
 (0)