From 87bec8628e98deb835255becd1075b1c8c0160b2 Mon Sep 17 00:00:00 2001 From: carlosdelest Date: Thu, 17 Oct 2024 09:42:06 +0200 Subject: [PATCH] Increasing timeout as nothing prevents replicas from being allocated, except the timeout --- .../resources/rest-api-spec/test/synonyms/10_synonyms_put.yml | 4 ++-- .../rest-api-spec/test/synonyms/110_synonyms_invalid.yml | 2 +- .../resources/rest-api-spec/test/synonyms/20_synonyms_get.yml | 2 +- .../rest-api-spec/test/synonyms/30_synonyms_delete.yml | 2 +- .../rest-api-spec/test/synonyms/40_synonyms_sets_get.yml | 4 ++-- .../rest-api-spec/test/synonyms/50_synonym_rule_put.yml | 2 +- .../rest-api-spec/test/synonyms/60_synonym_rule_get.yml | 2 +- .../rest-api-spec/test/synonyms/70_synonym_rule_delete.yml | 2 +- .../rest-api-spec/test/synonyms/80_synonyms_from_index.yml | 2 +- .../test/synonyms/90_synonyms_reloading_for_synset.yml | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/10_synonyms_put.yml b/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/10_synonyms_put.yml index 2589b65853406..93aa45081cd06 100644 --- a/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/10_synonyms_put.yml +++ b/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/10_synonyms_put.yml @@ -21,7 +21,7 @@ setup: index: .synonyms-2 level: shards wait_for_status: green - timeout: 1m + timeout: 2m - do: synonyms.get_synonym: @@ -71,7 +71,7 @@ setup: index: .synonyms-2 level: shards wait_for_status: green - timeout: 1m + timeout: 2m - do: synonyms.get_synonym: diff --git a/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/110_synonyms_invalid.yml b/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/110_synonyms_invalid.yml index aca6a1eb38fbe..819dbedb00a34 100644 --- a/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/110_synonyms_invalid.yml +++ b/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/110_synonyms_invalid.yml @@ -17,7 +17,7 @@ setup: index: .synonyms-2 level: shards wait_for_status: green - timeout: 1m + timeout: 2m - do: indices.create: diff --git a/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/20_synonyms_get.yml b/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/20_synonyms_get.yml index e89d76403d1ca..807467cedd207 100644 --- a/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/20_synonyms_get.yml +++ b/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/20_synonyms_get.yml @@ -20,7 +20,7 @@ setup: index: .synonyms-2 level: shards wait_for_status: green - timeout: 1m + timeout: 2m --- "Get synonyms set": diff --git a/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/30_synonyms_delete.yml b/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/30_synonyms_delete.yml index 9a332c903f287..f7806a0ef05b5 100644 --- a/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/30_synonyms_delete.yml +++ b/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/30_synonyms_delete.yml @@ -18,7 +18,7 @@ setup: index: .synonyms-2 level: shards wait_for_status: green - timeout: 1m + timeout: 2m --- "Delete synonyms set": diff --git a/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/40_synonyms_sets_get.yml b/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/40_synonyms_sets_get.yml index 308c144218a7d..025d27ccd4255 100644 --- a/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/40_synonyms_sets_get.yml +++ b/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/40_synonyms_sets_get.yml @@ -16,7 +16,7 @@ setup: index: .synonyms-2 level: shards wait_for_status: green - timeout: 1m + timeout: 2m - do: synonyms.put_synonym: @@ -44,7 +44,7 @@ setup: cluster.health: index: .synonyms-2 level: shards - timeout: 1m + timeout: 2m wait_for_status: green diff --git a/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/50_synonym_rule_put.yml b/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/50_synonym_rule_put.yml index 52cc3fba10e15..b5c8240dc31ac 100644 --- a/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/50_synonym_rule_put.yml +++ b/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/50_synonym_rule_put.yml @@ -20,7 +20,7 @@ setup: index: .synonyms-2 level: shards wait_for_status: green - timeout: 1m + timeout: 2m --- "Update a synonyms rule": diff --git a/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/60_synonym_rule_get.yml b/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/60_synonym_rule_get.yml index bb32e3f10cb14..90cee57b7e26b 100644 --- a/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/60_synonym_rule_get.yml +++ b/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/60_synonym_rule_get.yml @@ -20,7 +20,7 @@ setup: index: .synonyms-2 level: shards wait_for_status: green - timeout: 20s + timeout: 2m --- "Get a synonym rule": diff --git a/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/70_synonym_rule_delete.yml b/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/70_synonym_rule_delete.yml index f3f0c91c6af34..da1ee0e68ecfc 100644 --- a/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/70_synonym_rule_delete.yml +++ b/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/70_synonym_rule_delete.yml @@ -20,7 +20,7 @@ setup: index: .synonyms-2 level: shards wait_for_status: green - timeout: 1m + timeout: 2m --- diff --git a/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/80_synonyms_from_index.yml b/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/80_synonyms_from_index.yml index 1bd6d17300c26..b7f6136acc4e0 100644 --- a/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/80_synonyms_from_index.yml +++ b/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/80_synonyms_from_index.yml @@ -20,7 +20,7 @@ setup: index: .synonyms-2 level: shards wait_for_status: green - timeout: 1m + timeout: 2m # Create an index with synonym_filter that uses that synonyms set - do: diff --git a/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/90_synonyms_reloading_for_synset.yml b/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/90_synonyms_reloading_for_synset.yml index d9aed96be2a9d..35bd7a75a545e 100644 --- a/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/90_synonyms_reloading_for_synset.yml +++ b/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/90_synonyms_reloading_for_synset.yml @@ -32,7 +32,7 @@ index: .synonyms-2 level: shards wait_for_status: green - timeout: 1m + timeout: 2m # Create my_index1 with synonym_filter that uses synonyms_set1 - do: