From ec782515ac910f1957834f8f64e58212fa73ab79 Mon Sep 17 00:00:00 2001 From: shibao Date: Sun, 28 Jul 2024 13:49:26 -0400 Subject: [PATCH] improve testing db timeout --- config/test.exs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/test.exs b/config/test.exs index 1cd94ad..84bb570 100644 --- a/config/test.exs +++ b/config/test.exs @@ -9,8 +9,9 @@ config :bcrypt_elixir, :log_rounds, 1 # to provide built-in test partitioning in CI environment. # Run `mix help test` for more information. config :cannery, Cannery.Repo, + pool_size: 10, pool: Ecto.Adapters.SQL.Sandbox, - pool_size: 10 + timeout: 60000 # We don't run a server during test. If one is required, # you can enable the server option below.