From 41dccb6f96c1261b109996ccd034d0e9ccbe6bdd Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Thu, 27 Feb 2025 14:10:10 +0400 Subject: [PATCH 1/3] [CI] Bump Elasticsearch stack version --- .buildkite/pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 9ec0f81b0..ec709cb99 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -5,7 +5,7 @@ steps: env: PYTHON_VERSION: "{{ matrix.python }}" TEST_SUITE: "platinum" - STACK_VERSION: "8.16.0-SNAPSHOT" + STACK_VERSION: "9.1.0-SNAPSHOT" PYTHON_CONNECTION_CLASS: "{{ matrix.connection }}" NOX_SESSION: "{{ matrix.nox_session }}" matrix: From dfea98a75da09730eb7fb5a266c0e9b72106b329 Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Thu, 27 Feb 2025 14:42:14 +0400 Subject: [PATCH 2/3] Ignore agentless templates --- test_elasticsearch/utils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test_elasticsearch/utils.py b/test_elasticsearch/utils.py index 4a26aa4c0..9ab2f5769 100644 --- a/test_elasticsearch/utils.py +++ b/test_elasticsearch/utils.py @@ -425,6 +425,9 @@ def is_xpack_template(name): return True return name in { + "agentless", + "agentless@mappings", + "agentless@settings", "apm-10d@lifecycle", "apm-180d@lifecycle", "apm-390d@lifecycle", From e408b88fcc1def4d0c98bf67a37ca1648d4fe402 Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Thu, 27 Feb 2025 14:46:55 +0400 Subject: [PATCH 3/3] Run nox -rs format --- elasticsearch/dsl/types.py | 2 -- test_elasticsearch/utils.py | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/elasticsearch/dsl/types.py b/elasticsearch/dsl/types.py index fe12a00e8..d1c39003e 100644 --- a/elasticsearch/dsl/types.py +++ b/elasticsearch/dsl/types.py @@ -4345,14 +4345,12 @@ class BulkIndexByScrollFailure(AttrDict[Any]): :arg id: (required) :arg index: (required) :arg status: (required) - :arg type: (required) """ cause: "ErrorCause" id: str index: str status: int - type: str class CardinalityAggregate(AttrDict[Any]): diff --git a/test_elasticsearch/utils.py b/test_elasticsearch/utils.py index 9ab2f5769..8a13ff62f 100644 --- a/test_elasticsearch/utils.py +++ b/test_elasticsearch/utils.py @@ -425,9 +425,9 @@ def is_xpack_template(name): return True return name in { - "agentless", - "agentless@mappings", - "agentless@settings", + "agentless", + "agentless@mappings", + "agentless@settings", "apm-10d@lifecycle", "apm-180d@lifecycle", "apm-390d@lifecycle",