MCPcopy
hub / github.com/vulcand/vulcand / TestStartStopEmpty

Method TestStartStopEmpty

supervisor/supervisor_test.go:41–46  ·  view source on GitHub ↗
(c *C)

Source from the content-addressed store, hash-verified

39var _ = Suite(&SupervisorSuite{})
40
41func (s *SupervisorSuite) TestStartStopEmpty(c *C) {
42 sup := New(newProxy, s.ng, Options{Clock: s.clock})
43 err := sup.Start()
44 c.Assert(err, IsNil)
45 defer sup.Stop()
46}
47
48func (s *SupervisorSuite) TestInitFromExistingConfig(c *C) {
49 e := testutils.NewResponder("Hi, I'm endpoint")

Callers

nothing calls this directly

Calls 3

NewFunction · 0.70
StartMethod · 0.65
StopMethod · 0.65

Tested by

no test coverage detected