(t *testing.T, ctx context.Context)
| 380 | } |
| 381 | |
| 382 | func (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 | |
| 388 | func (s *Sensor) ExecuteControlCommand(ctx context.Context, cmd control.Command) error { |
| 389 | if len(s.contID) == 0 { |