mirror of https://github.com/status-im/migrate.git
Remove debugging output from cockroachDB tests
This commit is contained in:
parent
aebc0c3cdd
commit
2cab359222
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue