YARN-2194. Addendum patch to fix failing unit test in TestPrivilegedOperationExecutor. Contributed by Sidharta Seethana.
(cherry picked from ad5b904175a1f89951c7c32f744a4e20fafb51b5)
This commit is contained in:
parent
ee07df688a
commit
d17a7bbf6e
|
@ -217,8 +217,10 @@ public class TestPrivilegedOperationExecutor {
|
|||
.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