Using a channel to stop every tickers, ensuring stop iimediately instead of ticker invocation.

1 job for master in 31 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
failed #9102315
test

00:00:31

 
Name Stage Failure
failed
test Test There is an unknown failure, please try again
OK: 34 MiB in 25 packages
$ go get gitlab.com/kylehqcom/kevin
$ go test
--- FAIL: TestSchedule_Stop (1.30s)
schedule_test.go:474: Incorrect status - should be StatusStopped.
FAIL
exit status 1
FAIL _/builds/kylehqcom/kevin 3.256s
ERROR: Build failed: exit code 1