Releases: untergeek/es-testbed
0.9.0 (18 March 2025)
0.8.5 (31 August 2024)
Patch Release
Version Dependency Changes
es_client>=8.15.1
es_wait>=0.8.0
This is primarily so that other projects that also depend on both es-wait and es-testbed will not experience version conflicts.
0.8.4 (31 August 2024)
This is another early, pre-1.0 release.
Most of the changes are in the form of using es-docker-test-scripts version 1.2.0
The 1.2.0 version of the docker_test
scripts proved necessary to run two docker containers as part of a single cluster, with one of them being a data_frozen
node.
This is accomplished by running:
docker_test/create.sh 8.15.0 frozen_node
where frozen_node
is the scenario defined in the docker_test scripts for deploying a 2 node cluster with one data_frozen
node.
With that out of the way, the other changes were to the searchable_test preset scenario.
The import of this scenario seemed to require class attributes for the desired settings to be properly exposed, so scenarios.py
was changed to include a class Scenarios
, with every possible scenario as a class @property
/attribute.
Testing showed that these values properly propagated.
Now, with both changes in place, the prior failure to get cold and frozen ILM tests to work is a thing of the past.
0.8.3 (24 August 2024)
Changes
- docker_test/VERSION: Update to version 1.1.0
- pyproject.toml: Switch
tool.hatch.envs.all.matrix
totool.hatch.envs.test.matrix
so thathatch run test:test
will test against all supplied python versions - pytest.ini: Disable CLI logging. We only need this for heavy debugging
- init.py: Bump version to 0.8.3
- es_testbed/defaults.py: Python versions < 3.10 cannnot use the newer, more explicit
TypeAlias
class, so we switched to the older type alias assignment style. This is
heavily documented inline. - es_testbed/helpers/utils.py:
- Function prettystr:
pprint.pformat
does not have kwargunderscore_numbers
in
Python versions < 3.10, so a code workaround was added. - Function python_version: Return the Python version as a tuple. Could be redundant
assys.version_info
does as well, but this allows for re-use outside without
having toimport sys
again.
- Function prettystr:
- es_testbed/presets/searchable_test/definitions.py: Assignss
plan.uniq
to be
f'scenario-{scenario}'
0.8.2 (23 August 2024)
Update docker_test
scripts to use https://github.com/untergeek/es-docker-test-scripts
0.8.1 (21 August 2024)
Allow any version of es_client>=8.13.5
now to facilitate easier testing and reduced likelihood of version conflicts.
Dockerized Elasticsearch versions 8.13.4, 8.14.3, and 8.15.0 all appear to correctly test cold & frozen ILM indices now, so the test skipping has been commented out.
0.8.0 (10 May 2024)
See the README for more information. The document generation portion just got upgraded to allow for bring-your-own presets, from builtins, to file paths, to git repositories.
0.7.1 (3 May 2024)
Just a small update reflecting a slight change from upstream dependency es_wait
.
0.7.0 (3 May 2024)
Getting this ready for a production-ready 1.0.0 release. This is functional, but not all code is yet covered by tests, nor is documentation created (for readthedocs.io). That may be all that changes between 0.7.0 and 1.0.0, but there it is.