HomeClusterLabs Projects

Test: cts-cli: Update for marking dirty in pcmk__xml_mark_created()

Description

Test: cts-cli: Update for marking dirty in pcmk__xml_mark_created()

xml_create_patchset() checks whether the PCMK_XE_CONFIGURATION element
is dirty. If so, it bumps the epoch and resets num_updates. If not, it
bumps num_updates.

Before the previous commit, we missed an epoch bump because
pcmk__xml_mark_created() did not guarantee that all parents would be
marked dirty.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Apr 10 2024, 5:29 AM
Parents
rPd39994efe7a4: Low: libcrmcommon: Mark parents dirty in pcmk__mark_xml_created()
Branches
Unknown
Tags
Unknown