HomeClusterLabs Projects

Test: scheduler: update regression tests for implicit remote timeout change

Description

Test: scheduler: update regression tests for implicit remote timeout change

7a4a3f84, which functionized creating implicit remote connection XML,
changed the timeout for bundle remote connections from 60s to 30s.
Update the XML in the two regression tests that still have the 60s value to
30s, so a cancellation of the 60s monitor (irrelevant to the test purpose) is
not unnecessarily scheduled.

Previously, orphan monitors were wrongly treated as probes. Probes default to
the minimum-interval monitor timeout, while recurring monitors default to the
cluster-wide operation default timeout. As a result of the previous bug, the
orphaned 60s monitor would be considered to have the timeout of the new 30s
monitor (which is a decent outcome, but accidental). Now that the bug is fixed,
the orphaned monitor gets the operation default timeout.

That generated some difference in test output. While not a problem, it seems
more correct to update the tests to avoid the unnecessary cancellation.

Details

Provenance
kgaillotAuthored on May 31 2018, 11:26 AM
Parents
rPdb7d06521df7: Fix: scheduler: ensure orphaned recurring monitors have interval set
Branches
Unknown
Tags
Unknown

Event Timeline