HomeClusterLabs Projects

Test: scheduler: Promotable bundle colocations

Description

Test: scheduler: Promotable bundle colocations

Currently, bundle colocations aren't considered properly with respect to
promotion, including in the determination of instance ordering. These
tests set a baseline for the behavior of a promotable bundle in various
colocations with a primitive IPaddr2 resource and with another bundle.

Here we add 12 tests covering all combinations of:

  • Resource types:
    • Primary bundle promoted instance, dependent primitive
    • Dependent bundle promoted instance, primary primitive
    • Primary and dependent bundle promoted instances
  • colocation or anti-colocation
  • mandatory or optional

Currently only bundle-promoted-colocation-1 is correct.

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

Details

Provenance
nrwahl2Authored on Sep 12 2022, 4:18 AM
Parents
rP40a261ccc332: Merge pull request #3134 from kgaillot/best-practices
Branches
Unknown
Tags
Unknown