MCPcopy
hub / github.com/slimtoolkit/slim / SendStopCommandOrFail

Method SendStopCommandOrFail

pkg/test/e2e/sensor/sensor.go:382–386  ·  view source on GitHub ↗
(t *testing.T, ctx context.Context)

Source from the content-addressed store, hash-verified

380}
381
382func (s *Sensor) SendStopCommandOrFail(t *testing.T, ctx context.Context) {
383 if err := s.SendStopCommand(ctx); err != nil {
384 t.Fatal("Failed sending StopMonitor command:", err)
385 }
386}
387
388func (s *Sensor) ExecuteControlCommand(ctx context.Context, cmd control.Command) error {
389 if len(s.contID) == 0 {

Calls 1

SendStopCommandMethod · 0.95