YARN-3956. Fix TestNodeManagerHardwareUtils fails on Mac (Varun Vasudev via wangda)
This commit is contained in:
parent
8376ea3297
commit
06e5dd2c84
|
@ -659,6 +659,8 @@ Release 2.8.0 - UNRELEASED
|
|||
YARN-3954. Fix TestYarnConfigurationFields#testCompareConfigurationClassAgainstXml.
|
||||
(varun saxena via rohithsharmaks)
|
||||
|
||||
YARN-3956. Fix TestNodeManagerHardwareUtils fails on Mac (Varun Vasudev via wangda)
|
||||
|
||||
Release 2.7.2 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -30,6 +30,11 @@ import org.mockito.Mockito;
|
|||
public class TestNodeManagerHardwareUtils {
|
||||
|
||||
static class TestResourceCalculatorPlugin extends ResourceCalculatorPlugin {
|
||||
|
||||
TestResourceCalculatorPlugin() {
|
||||
super(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getVirtualMemorySize() {
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue