Fixed test TestLocalTimezone: test some time may fail due to goroutine scheduling uncertainly

pull/49/head
Doflatango 7 years ago
parent f3c2d16991
commit d54e1b0bc0

@ -237,7 +237,7 @@ func TestLocalTimezone(t *testing.T) {
defer cron.Stop()
select {
case <-time.After(ONE_SECOND * 2):
case <-time.After(ONE_SECOND * 3):
t.FailNow()
case <-wait(wg):
}

Loading…
Cancel
Save