You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2017/05/30 21:15:54 UTC

mesos git commit: Add a process ID for RemoteProcess in the libprocess tests.

Repository: mesos
Updated Branches:
  refs/heads/master 261cc30ce -> ff78a068c


Add a process ID for RemoteProcess in the libprocess tests.

In general, naming the process gives more visibility into what
is running when doing debugging.

Review: https://reviews.apache.org/r/59343/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ff78a068
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/ff78a068
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/ff78a068

Branch: refs/heads/master
Commit: ff78a068cc23d9f5d4a9dccb871411591c6c67dc
Parents: 261cc30
Author: James Peach <jp...@apache.org>
Authored: Tue May 30 14:15:01 2017 -0700
Committer: Benjamin Mahler <bm...@apache.org>
Committed: Tue May 30 14:15:01 2017 -0700

----------------------------------------------------------------------
 3rdparty/libprocess/src/tests/process_tests.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/ff78a068/3rdparty/libprocess/src/tests/process_tests.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/src/tests/process_tests.cpp b/3rdparty/libprocess/src/tests/process_tests.cpp
index a348bdd..38d787a 100644
--- a/3rdparty/libprocess/src/tests/process_tests.cpp
+++ b/3rdparty/libprocess/src/tests/process_tests.cpp
@@ -1238,7 +1238,7 @@ TEST(ProcessTest, THREADSAFE_Executor)
 class RemoteProcess : public Process<RemoteProcess>
 {
 public:
-  RemoteProcess()
+  RemoteProcess() : ProcessBase(process::ID::generate("remote"))
   {
     install("handler", &RemoteProcess::handler);
   }