mirror of
https://github.com/netbirdio/netbird.git
synced 2025-08-14 09:18:51 +02:00
Reduce test logs (#2550)
This commit is contained in:
@ -63,6 +63,7 @@ func TestScheduler_Cancel(t *testing.T) {
|
||||
scheduler.Schedule(context.Background(), scheduletime, jobID2, func() (nextRunIn time.Duration, reschedule bool) {
|
||||
return scheduletime, true
|
||||
})
|
||||
defer scheduler.Cancel(context.Background(), []string{jobID2})
|
||||
|
||||
time.Sleep(sleepTime)
|
||||
assert.Len(t, scheduler.jobs, 2)
|
||||
|
Reference in New Issue
Block a user