Skip to content

Commit 4b85d40

Browse files
committed
Update code_generator_case.ex
1 parent 2cd15c0 commit 4b85d40

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

integration_test/test/support/code_generator_case.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ defmodule Corex.Integration.CodeGeneratorCase do
9494
end
9595

9696
def assert_tests_pass(app_path) do
97-
mix_run!(~w(test), app_path)
97+
port = 45000 + :rand.uniform(5000)
98+
mix_run!(~w(test), app_path, env: [{"PORT", to_string(port)}])
9899
end
99100

100101
def assert_passes_formatter_check(app_path) do

0 commit comments

Comments
 (0)