YARN-2194. Addendum patch to fix failing unit test in TestPrivilegedOperationExecutor. Contributed by Sidharta Seethana.
This commit is contained in:
parent
6b7692c468
commit
63d0365088
@ -217,8 +217,10 @@ public void testSquashCGroupOperationsWithValidOperations() {
|
||||
.squashCGroupOperations(ops);
|
||||
String expected = new StringBuffer
|
||||
(PrivilegedOperation.CGROUP_ARG_PREFIX)
|
||||
.append(cGroupTasks1).append(',')
|
||||
.append(cGroupTasks2).append(',')
|
||||
.append(cGroupTasks1).append(PrivilegedOperation
|
||||
.LINUX_FILE_PATH_SEPARATOR)
|
||||
.append(cGroupTasks2).append(PrivilegedOperation
|
||||
.LINUX_FILE_PATH_SEPARATOR)
|
||||
.append(cGroupTasks3).toString();
|
||||
|
||||
//We expect axactly one argument
|
||||
|
Loading…
Reference in New Issue
Block a user