mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-09-24 03:46:00 +08:00
f31428739f
* Limit the number of Elixir nodes spawned at the same time in tests * Increase timeout * Update CI to Elixir 1.12 * Terminate unused runtimes * Increase timeout on the spawning node side * Cleanup * Run test with --trace * Up * Up * Run tests with long node names * Just longnames CI * Move CI dependent config to config/test.exs
19 lines
578 B
Elixir
19 lines
578 B
Elixir
import Config
|
|
|
|
# We don't run a server during test. If one is required,
|
|
# you can enable the server option below.
|
|
config :livebook, LivebookWeb.Endpoint,
|
|
http: [port: 4002],
|
|
server: false
|
|
|
|
# Print only warnings and errors during test
|
|
config :logger, level: :warn
|
|
|
|
config :livebook, :token_authentication, false
|
|
|
|
# Use longnames when running tests in CI, so that no host resolution is required,
|
|
# see https://github.com/elixir-nx/livebook/pull/173#issuecomment-819468549
|
|
if System.get_env("CI") == "true" do
|
|
config :livebook, :node, {:longnames, :"livebook@127.0.0.1"}
|
|
end
|