1.3.0
Overview
The most notable improvement introduced in this release is the ability to create a test cluster that isn't attached to a test group. This allows to create more than one test cluster in the same test or use the same test cluster in different tests. Another major improvement is the new, more convenient way to modify the configuration of a test cluster. Also, this release includes a few bug fixes in various test helpers. Note that one of the fixes changes the way assert_covers treats arrays: they are now treated as scalar values, which may break existing tests.
Changes
- Fixed a bug when
assert_coverstreats arrays as maps (gh-405). - Added the ability to keep and adjust cluster declarative configuration with
cluster:modify_config()and apply it later viacluster:apply_config_changes()without passing an explicit configuration (gh-426). - Added an option to create
Clusterobjects without global hook management, allowing tests to keep clusters alive between test runs (gh-414). - Fixed a bug where URI search would terminate prematurely when multiple replicasets existed (gh-427).
- Fixed
cbuilder:set_instance_option()to reuse existing instances found in a provided configuration and error when a target instance is missing. Also,cbuilder:add_instance()now rejects duplicate instance names across groups and replicasets (gh-404).