Skip CockroachDB in TestTrace

non-blocking
Jack Christensen 2022-05-23 18:15:53 -05:00
parent b59cd50508
commit 55e0b4c30e
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,10 @@ func TestTrace(t *testing.T) {
require.NoError(t, err)
defer conn.Close(ctx)
if conn.ParameterStatus("crdb_version") != "" {
t.Skip("Skipping message trace on CockroachDB as it varies slightly from PostgreSQL")
}
traceOutput := &bytes.Buffer{}
conn.Frontend().Trace(traceOutput, pgproto3.TracerOptions{
SuppressTimestamps: true,