YARN-6552. Increase YARN test timeouts from 1 second to 10 seconds. Contributed by Eric Badger
(cherry picked from commit 6099deebcb
)
Conflicts:
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestLogsCLI.java
This commit is contained in:
parent
4f8dd60e49
commit
f32db1be1e
|
@ -39,17 +39,17 @@ public class TestEmptyQueues {
|
|||
policy.computeShares(schedulables, Resources.none());
|
||||
}
|
||||
|
||||
@Test (timeout = 1000)
|
||||
@Test (timeout = 10000)
|
||||
public void testFifoPolicy() {
|
||||
testComputeShares(SchedulingPolicy.getInstance(FifoPolicy.class));
|
||||
}
|
||||
|
||||
@Test (timeout = 1000)
|
||||
@Test (timeout = 10000)
|
||||
public void testFairSharePolicy() {
|
||||
testComputeShares(SchedulingPolicy.getInstance(FairSharePolicy.class));
|
||||
}
|
||||
|
||||
@Test (timeout = 1000)
|
||||
@Test (timeout = 10000)
|
||||
public void testDRFPolicy() {
|
||||
testComputeShares(
|
||||
SchedulingPolicy.getInstance(DominantResourceFairnessPolicy.class));
|
||||
|
|
Loading…
Reference in New Issue