good morning!!!!

Skip to content
Snippets Groups Projects
Commit bd3bd93f authored by Garet Halliday's avatar Garet Halliday
Browse files

71 chained pggats works

parent fc99137e
Branches
Tags
No related merge requests found
...@@ -47,11 +47,20 @@ func TestTester(t *testing.T) { ...@@ -47,11 +47,20 @@ func TestTester(t *testing.T) {
Password: password, Password: password,
} }
for i := 0; i < 10; i++ { for i := 0; i < 70; i++ {
var g gat.PoolsMap var g gat.PoolsMap
p := pool.NewPool(transaction.Apply(pool.Options{
var options = pool.Options{
Credentials: creds, Credentials: creds,
})) }
if i%2 == 0 {
options = transaction.Apply(options)
} else {
options.ServerResetQuery = "DISCARD ALL"
options = session.Apply(options)
}
p := pool.NewPool(options)
p.AddRecipe("runner", recipe.NewRecipe(recipe.Options{ p.AddRecipe("runner", recipe.NewRecipe(recipe.Options{
Dialer: control, Dialer: control,
})) }))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment