For #66322.
Change-Id: I1d83c7a3cacd2ab012039d954270a7c87bbdf5ce
Reviewed-on: https://go-review.googlesource.com/c/go/+/584195
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Russ Cox <rsc@golang.org>
Sleep(sched)
tim.Reset(10000 * Second)
if isTicker {
- assertTick()
+ drain()
}
noTick()
Sleep(sched)
tim.Reset(10000 * Second)
if !synctimerchan && isTicker {
- assertLen()
- assertTick()
+ drain()
}
noTick()