Avoid timeout in RoutingContextPropagatesCatalogCacheErrors

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: Catalog
    • None
    • Query Optimization
    • Fully Compatible
    • ALL
    • 200
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the test calls invalidateCollectionEntry_LINEARIZABLE before hitting the failpoint, which triggers a blocking refresh on the next access. There is a race between the async refresh in the background thread and the invalidation of the cache/cancellation of the refresh at the end of the test in the main thread.

      This test can be rewritten to use a mock error response with a future that's guaranteed to finish with a response or error.

              Assignee:
              Lynne Wang
              Reporter:
              Lynne Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: