mirror of
https://github.com/kata-containers/cgroups-rs.git
synced 2026-08-05 02:13:23 +00:00
tests: cgroup: re-enable the test for moving the task
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
This commit is contained in:
@@ -23,9 +23,7 @@ fn test_tasks_iterator() {
|
||||
tasks = cg.tasks().into_iter();
|
||||
|
||||
// Verify that it was indeed removed.
|
||||
//assert_eq!(tasks.next(), None);
|
||||
// ^ This is disabled, because it requires root privileges and there's no way around it
|
||||
// right now.
|
||||
assert_eq!(tasks.next(), None);
|
||||
}
|
||||
cg.delete();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user