mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #3121 from yichengq/extend-schedule
pkg/testutil: extend wait schedule time to 10ms
This commit is contained in:
commit
7a520bb80b
@ -22,7 +22,7 @@ import (
|
|||||||
|
|
||||||
// TODO: improve this when we are able to know the schedule or status of target go-routine.
|
// TODO: improve this when we are able to know the schedule or status of target go-routine.
|
||||||
func WaitSchedule() {
|
func WaitSchedule() {
|
||||||
time.Sleep(3 * time.Millisecond)
|
time.Sleep(10 * time.Millisecond)
|
||||||
}
|
}
|
||||||
|
|
||||||
func MustNewURLs(t *testing.T, urls []string) []url.URL {
|
func MustNewURLs(t *testing.T, urls []string) []url.URL {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user