зеркало из https://github.com/github/vitess-gh.git
Merge pull request #3525 from slanning/master
suppress errors for package vtgate tests
This commit is contained in:
Коммит
a140329e87
|
@ -18,6 +18,7 @@ package vtgate
|
|||
|
||||
import (
|
||||
"encoding/hex"
|
||||
"flag"
|
||||
"fmt"
|
||||
"io"
|
||||
"math"
|
||||
|
@ -54,6 +55,8 @@ var masterSession = &vtgatepb.Session{
|
|||
}
|
||||
|
||||
func init() {
|
||||
flag.CommandLine.Parse([]string{}) // prevents glog "ERROR: logging before flag.Parse"
|
||||
|
||||
getSandbox(KsTestUnsharded).VSchema = `
|
||||
{
|
||||
"Sharded": false,
|
||||
|
|
Загрузка…
Ссылка в новой задаче