Remove debugging output from cockroachDB tests

This commit is contained in:
Taylor Wrobel 2017-07-07 23:13:55 -07:00
parent aebc0c3cdd
commit 2cab359222
1 changed files with 0 additions and 2 deletions

View File

@ -20,7 +20,6 @@ var versions = []mt.Version{
} }
func isReady(i mt.Instance) bool { func isReady(i mt.Instance) bool {
fmt.Println("Checking readiness")
db, err := sql.Open("postgres", fmt.Sprintf("postgres://root@%v:%v?sslmode=disable", i.Host(), i.PortFor(26257))) db, err := sql.Open("postgres", fmt.Sprintf("postgres://root@%v:%v?sslmode=disable", i.Host(), i.PortFor(26257)))
if err != nil { if err != nil {
return false return false
@ -46,7 +45,6 @@ func Test(t *testing.T) {
mt.ParallelTest(t, versions, isReady, mt.ParallelTest(t, versions, isReady,
func(t *testing.T, i mt.Instance) { func(t *testing.T, i mt.Instance) {
c := &CockroachDb{} c := &CockroachDb{}
fmt.Println("Connecting in test")
addr := fmt.Sprintf("cockroach://root@%v:%v/migrate?sslmode=disable", i.Host(), i.PortFor(26257)) addr := fmt.Sprintf("cockroach://root@%v:%v/migrate?sslmode=disable", i.Host(), i.PortFor(26257))
d, err := c.Open(addr) d, err := c.Open(addr)
if err != nil { if err != nil {