From a0316ec466dc6054b561447bb3ddb6d33f838884 Mon Sep 17 00:00:00 2001 From: Gareth Ellis Date: Thu, 5 Jun 2025 13:30:21 +0200 Subject: [PATCH] Add a custom param test --- it/test_custom_parameters.py | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 it/test_custom_parameters.py diff --git a/it/test_custom_parameters.py b/it/test_custom_parameters.py new file mode 100644 index 000000000..c90ba9331 --- /dev/null +++ b/it/test_custom_parameters.py @@ -0,0 +1,29 @@ +# Licensed to Elasticsearch B.V. under one or more contributor +# license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright +# ownership. Elasticsearch B.V. licenses this file to you under +# the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +import pytest + +pytest_rally = pytest.importorskip("pytest_rally") + + +class TestCustomParameters: + def test_tsdb_esql(self, es_cluster, rally): + ret = rally.race( + track="tsdb", + track_params={"run_esql_aggs": True, "index_mode": "time_series"}, + ) + assert ret == 0