Skip to content

Commit

Permalink
increase default wait timeout for mysql
Browse files Browse the repository at this point in the history
and remove configure max cases in test helper
  • Loading branch information
jarlah committed Oct 31, 2023
1 parent f9e4291 commit f9dfd7c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/container/mysql_container.ex
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ defmodule Testcontainers.Container.MySqlContainer do
@default_password "test"
@default_database "test"
@default_port 3306
@default_wait_timeout 120_000
@default_wait_timeout 180_000

@enforce_keys [:image, :user, :password, :database, :port, :wait_timeout]
defstruct [:image, :user, :password, :database, :port, :wait_timeout]
Expand Down
1 change: 0 additions & 1 deletion test/test_helper.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
Testcontainers.start_link()

ExUnit.configure(max_cases: System.schedulers_online() * 4)
ExUnit.start()

# Application.put_env(:tesla, DockerEngineAPI.Connection,
Expand Down

0 comments on commit f9dfd7c

Please sign in to comment.