Commit Graph

7 Commits (04bcc0219dc3acf67f27e68decd6dffe97334779)

Author SHA1 Message Date
Jack Christensen 05440f9d3f Drastically increase allowed test times for potato CI
The context timeouts for tests are designed to give a better error
message when something hangs rather than the test just timing out.
Unfortunately, the potato CI frequently has some test or another
randomly take a long time. While the increased times are somewhat less
than optimal on a real computer, hopefully this will solve the
flickering CI.
2023-07-11 21:16:08 -05:00
Jack Christensen 1ec3816a20 pgconn and pgproto use same environment variable for tests as pgx 2022-10-29 13:23:25 -05:00
Jack Christensen 55e0b4c30e Skip CockroachDB in TestTrace 2022-05-23 18:15:53 -05:00
Jack Christensen b59cd50508 TestTrace enables tracing after connection established
This avoids locking to a specific version of the server.
2022-05-23 17:52:10 -05:00
Jack Christensen 67635f896c Fix output to include message size and add some docs 2022-05-21 17:30:47 -05:00
Jack Christensen b74c109f61 Optimize tracing
The addition of tracing caused messages to escape to the heap. By
avoiding interfaces the messages no longer escape.
2022-05-21 17:22:58 -05:00
Jack Christensen f2e96156a0 Add message tracing 2022-05-21 14:43:04 -05:00