Sfoglia il codice sorgente

[TEST] Replace fields in response with actual values

Relates to #35496
Martijn van Groningen 7 anni fa
parent
commit
797cffbb68
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      docs/reference/ccr/apis/get-ccr-stats.asciidoc

+ 3 - 0
docs/reference/ccr/apis/get-ccr-stats.asciidoc

@@ -141,7 +141,10 @@ The API returns the following results:
   }
 }
 --------------------------------------------------
+// TESTRESPONSE[s/"number_of_failed_follow_indices" : 0/"number_of_failed_follow_indices" : $body.auto_follow_stats.number_of_failed_follow_indices/]
+// TESTRESPONSE[s/"number_of_failed_remote_cluster_state_requests" : 0/"number_of_failed_remote_cluster_state_requests" : $body.auto_follow_stats.number_of_failed_remote_cluster_state_requests/]
 // TESTRESPONSE[s/"number_of_successful_follow_indices" : 1/"number_of_successful_follow_indices" : $body.auto_follow_stats.number_of_successful_follow_indices/]
+// TESTRESPONSE[s/"recent_auto_follow_errors" : [ ]/"recent_auto_follow_errors" : $body.auto_follow_stats.recent_auto_follow_errors/]
 // TESTRESPONSE[s/"leader_global_checkpoint" : 1024/"leader_global_checkpoint" : $body.follow_stats.indices.0.shards.0.leader_global_checkpoint/]
 // TESTRESPONSE[s/"leader_max_seq_no" : 1536/"leader_max_seq_no" : $body.follow_stats.indices.0.shards.0.leader_max_seq_no/]
 // TESTRESPONSE[s/"follower_global_checkpoint" : 768/"follower_global_checkpoint" : $body.follow_stats.indices.0.shards.0.follower_global_checkpoint/]