YARN-1846. TestRM#testNMTokenSentForNormalContainer assumes CapacityScheduler. (Robert Kanter via kasha)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1578763 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
57cdf8626a
commit
e52c1535b8
@ -170,6 +170,9 @@ Release 2.4.0 - UNRELEASED
|
||||
YARN-1717. Enabled periodically discarding old data in LeveldbTimelineStore.
|
||||
(Billie Rinaldi via zjshen)
|
||||
|
||||
YARN-1846. TestRM#testNMTokenSentForNormalContainer assumes CapacityScheduler.
|
||||
(Robert Kanter via kasha)
|
||||
|
||||
IMPROVEMENTS
|
||||
|
||||
YARN-1007. Enhance History Reader interface for Containers. (Mayank Bansal via
|
||||
|
@ -178,8 +178,10 @@ public void testAppOnMultiNode() throws Exception {
|
||||
// corresponding NM Token.
|
||||
@Test (timeout = 20000)
|
||||
public void testNMTokenSentForNormalContainer() throws Exception {
|
||||
|
||||
MockRM rm = new MockRM();
|
||||
YarnConfiguration conf = new YarnConfiguration();
|
||||
conf.set(YarnConfiguration.RM_SCHEDULER,
|
||||
CapacityScheduler.class.getCanonicalName());
|
||||
MockRM rm = new MockRM(conf);
|
||||
rm.start();
|
||||
MockNM nm1 = rm.registerNode("h1:1234", 5120);
|
||||
RMApp app = rm.submitApp(2000);
|
||||
|
Loading…
Reference in New Issue
Block a user