зеркало из https://github.com/github/vitess-gh.git
tests: fix rowcache_invalidator flakyness
memcache seems to start up slow sometimes. Give the sanity check a higher timeout to account for it.
This commit is contained in:
Родитель
15019d1fb4
Коммит
b42d25c142
|
@ -153,7 +153,7 @@ func (cp *CachePool) startCacheService() {
|
|||
for {
|
||||
c, err := cacheservice.Connect(cacheservice.Config{
|
||||
Address: cp.socket,
|
||||
Timeout: 30 * time.Millisecond,
|
||||
Timeout: 10 * time.Second,
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
|
|
Загрузка…
Ссылка в новой задаче