diff --git a/contrib/postgres/test.sql b/contrib/postgres/test.sql index 9fd1d39e67..8fc92010b6 100644 --- a/contrib/postgres/test.sql +++ b/contrib/postgres/test.sql @@ -66,8 +66,6 @@ insert into authors (name) values \echo `echo hello` -select :"COLNAME" from authors where :COLNAME like '%' || :'NAME' || '%' - \print \raw \g diff --git a/testcli.go b/testcli.go index 6900afa24d..565bada0fc 100644 --- a/testcli.go +++ b/testcli.go @@ -119,6 +119,7 @@ func (test Test) do(ctx context.Context, binpath string, timeout time.Duration) gexpect.SetEnv(test.env), gexpect.Tee(&noopWriteCloser{os.Stdout}), ) + exp.Options(gexpect.Verbose(true)) if err != nil { return err } @@ -127,6 +128,7 @@ func (test Test) do(ctx context.Context, binpath string, timeout time.Duration) return err } for _, line := range bytes.Split(buf, []byte{'\n'}) { + time.Sleep(100 * time.Millisecond) if err := exp.Send(string(line) + "\n"); err != nil { return err }