projectnessie / nessie

Nessie: Transactional Catalog for Data Lakes with Git-like semantics
https://projectnessie.org
Apache License 2.0
908 stars 117 forks source link

Fix flaky `TestCacheInvalidationSender.regularServiceNameLookups` #8950

Closed snazy closed 4 days ago

snazy commented 4 days ago

There is a concurrency issue in the test, which lets the test advance too fast, assuming that the new addresses have already been "stored" by the CacheInvalidationSender. This change adds a new "probe" that is triggered after the (new) addresses have been "stored".