From f32db1be1ebab832a6d69aadf5df735f9f3514b0 Mon Sep 17 00:00:00 2001 From: Jason Lowe Date: Wed, 10 May 2017 08:47:48 -0500 Subject: [PATCH] YARN-6552. Increase YARN test timeouts from 1 second to 10 seconds. Contributed by Eric Badger (cherry picked from commit 6099deebcb0ea23adc0f0c62db749c8f528869e9) Conflicts: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestLogsCLI.java --- .../scheduler/fair/policies/TestEmptyQueues.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/TestEmptyQueues.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/TestEmptyQueues.java index 4636c5bbd8d..7511cecc68a 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/TestEmptyQueues.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/policies/TestEmptyQueues.java @@ -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));