MCPcopy Create free account
hub / github.com/apache/mesos / kill

Method kill

src/python/cli_new/lib/cli/tests/base.py:206–212  ·  view source on GitHub ↗

After killing the master, we need to make sure its reference count is decreased.

(self)

Source from the content-addressed store, hash-verified

204 Master.count += 1
205
206 def kill(self):
207 """
208 After killing the master, we need to make sure its
209 reference count is decreased.
210 """
211 super(Master, self).kill()
212 Master.count -= 1
213
214
215class Agent(Executable):

Callers 7

test_execMethod · 0.95
test_exec_exit_statusMethod · 0.95
test_exec_interactiveMethod · 0.95
test_listMethod · 0.95
test_list_allMethod · 0.95
test_launch_binariesMethod · 0.95
test_listMethod · 0.95

Calls 1

killMethod · 0.45

Tested by 7

test_execMethod · 0.76
test_exec_exit_statusMethod · 0.76
test_exec_interactiveMethod · 0.76
test_listMethod · 0.76
test_list_allMethod · 0.76
test_launch_binariesMethod · 0.76
test_listMethod · 0.76