Skip to content

Conversation

@lhotari
Copy link
Member

@lhotari lhotari commented Jan 26, 2023

Fixes #18300

Motivation

MetadataStoreStatsTest is very flaky and it causes a lot of builds to fail.
The main reason for the flakiness was the asynchronous broker shutdown.

Modifications

The solution was to set brokerShutdownTimeoutMs to 5000 to prevent the issue where
a metric is unregistered asynchronously while the next method is executing.

There's also a change to log the metrics together with the asserts in MetadataStoreStatsTest. This will help investigate any possible future issues if any remain.

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

@lhotari lhotari merged commit f047de2 into apache:master Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs ready-to-test type/flaky-tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flaky-test: MetadataStoreStatsTest#testBatchMetadataStoreMetrics

2 participants