MessagingMetricsProcessorServiceTest is flaky

Description

As seen in https://builds.cask.co/browse/CDAP-BUT-1341
MessagingMetricsProcessorServiceTest#persistMetricsTests failed with

This is because in MessagingMetricsProcessorService, before persisting the metrics and topic metas, a copy of the topic metas containing the metrics processor delay metrics is made before making a copy of metric values. Therefore, there can be a very small chance where all metric values are persisted but the corresponding metric metas are not yet persisted.

Release Notes

None

Activity

Show:
Shankar Selvam
August 2, 2018, 10:35 PM
Albert Shau
June 27, 2018, 9:45 PM

My branch just failed with:

Chengfeng Mao
June 27, 2018, 9:06 PM
Fixed

Assignee

Shankar Selvam

Reporter

Chengfeng Mao

Labels

Docs Impact

None

UX Impact

None

Components

Fix versions

Priority

Major