Increase assertion timeout of health observer tests

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.0-rc14, 7.0.21
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch
    • Fully Compatible
    • v7.0, v6.0, v5.0
    • Networking & Obs 2024-07-22
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The health observer test suite defines an assertSoon helper function, which by default waits for 10 seconds for the provided predicate to evaluate to true before failing the test. This is too short of a timeout to allow an observer to retry after hitting its own deadline timeout, which can make the tests susceptible to transient failures (e.g. the DNS health observer's deadline is 10 seconds as well).

      We should increase this timeout to give the observers being tested a chance to retry, which should improve the stability of these tests.

            Assignee:
            Patrick Freed
            Reporter:
            Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: