зеркало из https://github.com/github/vitess-gh.git
test: faster unit tests
The fakesqldb was waiting .25 seconds on every call to Close. This speeds up the tabletserver test considerably. Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
This commit is contained in:
Родитель
1745315845
Коммит
3754654f63
|
@ -210,7 +210,6 @@ func (db *DB) Close() {
|
|||
db.listener.Close()
|
||||
db.acceptWG.Wait()
|
||||
|
||||
db.WaitForClose(250 * time.Millisecond)
|
||||
db.CloseAllConnections()
|
||||
|
||||
tmpDir := path.Dir(db.socketFile)
|
||||
|
|
Загрузка…
Ссылка в новой задаче