diff --git a/rest-api-spec/test/search.aggregation/10_histogram.yaml b/rest-api-spec/test/search.aggregation/10_histogram.yaml
index b70390f16ac..63deebcd870 100644
--- a/rest-api-spec/test/search.aggregation/10_histogram.yaml
+++ b/rest-api-spec/test/search.aggregation/10_histogram.yaml
@@ -3,6 +3,8 @@ setup:
       indices.create:
           index: test_1
           body:
+            settings:
+              number_of_replicas: 0
             mappings:
               test:
                 "properties":