You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: connect/mirror/src/test/java/org/apache/kafka/connect/mirror/integration/MirrorConnectorsIntegrationBaseTest.java
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -287,6 +287,8 @@ public void shutdownClusters() throws Exception {
287
287
} finally {
288
288
Exit.resetExitProcedure();
289
289
Exit.resetHaltProcedure();
290
+
// Shared by all CollectAllMetricsReporter instances; avoid cross-test accumulation.
291
+
CollectAllMetricsReporter.METRICS.clear();
290
292
}
291
293
}
292
294
}
@@ -1628,5 +1630,10 @@ public void init(List<KafkaMetric> metrics) {
0 commit comments