From 14f3f3b42ec556c2f9b17f6409aac339ce6c7702 Mon Sep 17 00:00:00 2001 From: Billie Rinaldi Date: Fri, 30 Jun 2017 09:12:29 -0700 Subject: [PATCH] YARN-6655. Fix compilation failure in TestServiceApiUtil due to changes in YARN-6716. --- .../test/java/org/apache/slider/utils/TestServiceApiUtil.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-slider/hadoop-yarn-slider-core/src/test/java/org/apache/slider/utils/TestServiceApiUtil.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-slider/hadoop-yarn-slider-core/src/test/java/org/apache/slider/utils/TestServiceApiUtil.java index 889cc04f0f7..28f36de0ecd 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-slider/hadoop-yarn-slider-core/src/test/java/org/apache/slider/utils/TestServiceApiUtil.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-slider/hadoop-yarn-slider-core/src/test/java/org/apache/slider/utils/TestServiceApiUtil.java @@ -463,7 +463,8 @@ public class TestServiceApiUtil { Application application = createValidApplication(null); application.setComponents(Arrays.asList(c, d, e)); try { - ServiceApiUtil.validateAndResolveApplication(application, sfs); + ServiceApiUtil.validateAndResolveApplication(application, sfs, + CONF_DEFAULT_DNS); Assert.fail(EXCEPTION_PREFIX + "components with bad dependencies"); } catch (IllegalArgumentException ex) { assertEquals(String.format(