You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by nn...@apache.org on 2014/05/06 07:53:45 UTC
git commit: Fixed comment length in cgroups tests.
Repository: mesos
Updated Branches:
refs/heads/master faa9b3e79 -> 4d5866d47
Fixed comment length in cgroups tests.
This style issue started creeping up in other RR's Review bot feed back:
Error:
Checking 426 files using filter --filter=-,+build/class,
+build/deprecated,+build/endif_comment,+runtime/vlog,
+whitespace/comma,+whitespace/ending_newline,+whitespace/forcolon,
+whitespace/indent,+whitespace/line_length,+whitespace/tab,
+whitespace/todo
src/tests/cgroups_tests.cpp:829: Lines should be <= 80 characters
long [whitespace/line_length] [2]
Total errors found: 1
Review: https://reviews.apache.org/r/21098
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/4d5866d4
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/4d5866d4
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/4d5866d4
Branch: refs/heads/master
Commit: 4d5866d477687249993fe1a577bac0642afcd465
Parents: faa9b3e
Author: Niklas Q. Nielsen <ni...@mesosphere.io>
Authored: Mon May 5 22:46:12 2014 -0700
Committer: Niklas Q. Nielsen <ni...@mesosphere.io>
Committed: Mon May 5 22:53:22 2014 -0700
----------------------------------------------------------------------
src/tests/cgroups_tests.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/4d5866d4/src/tests/cgroups_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/cgroups_tests.cpp b/src/tests/cgroups_tests.cpp
index 164b0d0..5f674cd 100644
--- a/src/tests/cgroups_tests.cpp
+++ b/src/tests/cgroups_tests.cpp
@@ -826,7 +826,8 @@ TEST_F(CgroupsAnyHierarchyWithFreezerTest, ROOT_CGROUPS_AssignThreads)
// Assign ourselves to the test cgroup.
CHECK_SOME(cgroups::assign(hierarchy, TEST_CGROUPS_ROOT, ::getpid()));
- // Get our threads (may be more than the numThreads we created if other threads are running).
+ // Get our threads (may be more than the numThreads we created if
+ // other threads are running).
Try<set<pid_t> > threads = proc::threads(::getpid());
ASSERT_SOME(threads);