Newer
Older
"testing"
"pggat/lib/auth/credentials"
"pggat/lib/bouncer/backends/v0"
"pggat/lib/gat/pool/pools/session"
"pggat/lib/gat/pool/pools/transaction"
"pggat/test"
"pggat/test/tests"
)
func TestTester(t *testing.T) {
tester := test.NewTester(test.Config{
Modes: map[string]pool.Options{
"transaction": transaction.Apply(pool.Options{}),
"session": session.Apply(pool.Options{
ServerResetQuery: "discard all",
}),
},
Address: "localhost:6432",
AcceptOptions: backends.AcceptOptions{
Credentials: credentials.Cleartext{
Username: "postgres",
Password: "password",
},
tests.EQP0,
tests.EQP1,
tests.EQP2,
tests.EQP3,
tests.EQP4,
tests.EQP5,
tests.EQP6,
tests.EQP7,