YARN-6655. Fix compilation failure in TestServiceApiUtil due to changes in YARN-6716.
This commit is contained in:
parent
59a9b4f438
commit
14f3f3b42e
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue