quickstep-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zu...@apache.org
Subject incubator-quickstep git commit: Enabled some checks for the distributed version in the release build.
Date Tue, 31 Jan 2017 22:45:35 GMT
Repository: incubator-quickstep
Updated Branches:
  refs/heads/master dff4a145e -> 5ffdaaf9f


Enabled some checks for the distributed version in the release build.


Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/5ffdaaf9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/5ffdaaf9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/5ffdaaf9

Branch: refs/heads/master
Commit: 5ffdaaf9f9d42cb25ffcbaf59cfafc049dcaca27
Parents: dff4a14
Author: Zuyu Zhang <zuyuz@apache.org>
Authored: Tue Jan 31 14:45:27 2017 -0800
Committer: Zuyu Zhang <zuyuz@apache.org>
Committed: Tue Jan 31 14:45:27 2017 -0800

----------------------------------------------------------------------
 cli/distributed/Cli.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/5ffdaaf9/cli/distributed/Cli.cpp
----------------------------------------------------------------------
diff --git a/cli/distributed/Cli.cpp b/cli/distributed/Cli.cpp
index 01f824d..5af70e6 100644
--- a/cli/distributed/Cli.cpp
+++ b/cli/distributed/Cli.cpp
@@ -95,13 +95,13 @@ void Cli::init() {
   tmb::MessageStyle style;
 
   TaggedMessage cli_reg_message(kDistributedCliRegistrationMessage);
-  DCHECK(tmb::MessageBus::SendStatus::kOK ==
+  CHECK(tmb::MessageBus::SendStatus::kOK ==
       bus_.Send(cli_id_, all_addresses, style, move(cli_reg_message)));
 
   // Wait for Conductor to response.
   const AnnotatedMessage cli_reg_response_message(bus_.Receive(cli_id_, 0, true));
-  DCHECK_EQ(kDistributedCliRegistrationResponseMessage,
-            cli_reg_response_message.tagged_message.message_type());
+  CHECK_EQ(kDistributedCliRegistrationResponseMessage,
+           cli_reg_response_message.tagged_message.message_type());
   conductor_client_id_ = cli_reg_response_message.sender;
 
   DLOG(INFO) << "DistributedCli received typed '" << kDistributedCliRegistrationResponseMessage


Mime
View raw message