You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by ha...@apache.org on 2021/02/02 22:09:31 UTC
[ozone] branch master updated: HDDS-4767. Intermittent failure in
TestOzoneManagerDoubleBufferWithDummyResponse (#1869)
This is an automated email from the ASF dual-hosted git repository.
hanishakoneru pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 9cd00c6 HDDS-4767. Intermittent failure in TestOzoneManagerDoubleBufferWithDummyResponse (#1869)
9cd00c6 is described below
commit 9cd00c6712b7059251af477cb325a4ae9879fe68
Author: Doroszlai, Attila <64...@users.noreply.github.com>
AuthorDate: Tue Feb 2 23:09:13 2021 +0100
HDDS-4767. Intermittent failure in TestOzoneManagerDoubleBufferWithDummyResponse (#1869)
---
.../ozone/om/ratis/TestOzoneManagerDoubleBufferWithDummyResponse.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/ratis/TestOzoneManagerDoubleBufferWithDummyResponse.java b/hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/ratis/TestOzoneManagerDoubleBufferWithDummyResponse.java
index 372679b..a34a412 100644
--- a/hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/ratis/TestOzoneManagerDoubleBufferWithDummyResponse.java
+++ b/hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/ratis/TestOzoneManagerDoubleBufferWithDummyResponse.java
@@ -121,7 +121,7 @@ public class TestOzoneManagerDoubleBufferWithDummyResponse {
assertEquals(bucketCount, omMetadataManager.countRowsInTable(
omMetadataManager.getBucketTable()));
assertTrue(doubleBuffer.getFlushIterations() > 0);
- assertTrue(metrics.getFlushTime().lastStat().mean() > 0);
+ assertTrue(metrics.getFlushTime().lastStat().numSamples() > 0);
assertTrue(metrics.getAvgFlushTransactionsInOneIteration() > 0);
// Assert there is only instance of OM Double Metrics.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozone.apache.org
For additional commands, e-mail: commits-help@ozone.apache.org