Details
Description
The test TestKSMMetrcis#[.testVolumeOps,.testKeyOps] fails constantly recently. The stack info:
java.lang.AssertionError: Bad value for metric NumVolumeOps expected:<6> but was:<0> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:743) at org.junit.Assert.assertEquals(Assert.java:118) at org.junit.Assert.assertEquals(Assert.java:555) at org.apache.hadoop.test.MetricsAsserts.assertCounter(MetricsAsserts.java:227) at org.apache.hadoop.ozone.ksm.TestKSMMetrcis.testVolumeOps(TestKSMMetrcis.java:89)
Seemed after the commit of HDFS-12034, the failures appeared.