YARN-2785. Fixed intermittent TestContainerResourceUsage failure. Contributed by Varun Vasudev.