mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject [2/2] mesos git commit: Removed an unused variable in a default executor test.
Date Wed, 15 Nov 2017 19:41:11 GMT
Removed an unused variable in a default executor test.

This patch removes an unused variable from
`DefaultExecutorTest.CommitSuicideOnKillTask`.

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


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

Branch: refs/heads/master
Commit: e3e6413281f81e53c845a5c6e2cc57c1e6ece110
Parents: f67b63d
Author: Gaston Kleiman <gaston@mesosphere.io>
Authored: Wed Nov 15 11:35:56 2017 -0800
Committer: Greg Mann <gregorywmann@gmail.com>
Committed: Wed Nov 15 11:39:29 2017 -0800

----------------------------------------------------------------------
 src/tests/default_executor_tests.cpp | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/e3e64132/src/tests/default_executor_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/default_executor_tests.cpp b/src/tests/default_executor_tests.cpp
index 6511398..6515021 100644
--- a/src/tests/default_executor_tests.cpp
+++ b/src/tests/default_executor_tests.cpp
@@ -1090,8 +1090,6 @@ TEST_P(DefaultExecutorTest, CommitSuicideOnKillTask)
 
   v1::TaskInfo task2 = v1::createTask(agentId, resources, SLEEP_COMMAND(1000));
 
-  const hashset<v1::TaskID> taskIds{task1.task_id(), task2.task_id()};
-
   // We expect two TASK_STARTING, two TASK_RUNNING, and one TASK_FINISHED
   // updates.
   vector<Future<v1::scheduler::Event::Update>> updates(5);


Mime
View raw message