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

pull/49/head
Doflatango 2017-11-30 10:37:41 +08:00
parent f3c2d16991
commit d54e1b0bc0
1 changed files with 1 additions and 1 deletions

View File

@ -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):
}