HDFS-9073. Fix failures in TestLazyPersistLockedMemory testReleaseOnEviction(). (J.Andreina via stevel)
This commit is contained in:
parent
4477643749
commit
08024d1b0b
|
@ -1355,6 +1355,9 @@ Release 2.8.0 - UNRELEASED
|
|||
HDFS-9072. Fix random failures in TestJMXGet.
|
||||
(J.Andreina via stevel)
|
||||
|
||||
HDFS-9073. Fix failures in TestLazyPersistLockedMemory
|
||||
testReleaseOnEviction(). (J.Andreina via stevel)
|
||||
|
||||
Release 2.7.2 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -480,6 +480,7 @@ public abstract class LazyPersistTestCase {
|
|||
|
||||
protected final void verifyRamDiskJMXMetric(String metricName,
|
||||
long expectedValue) throws Exception {
|
||||
waitForMetric(metricName, (int)expectedValue);
|
||||
assertEquals(expectedValue, Integer.parseInt(jmx.getValue(metricName)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue