Skip to content

Commit

Permalink
give development_workflow test more time to start server
Browse files Browse the repository at this point in the history
  • Loading branch information
SteffenDE committed May 19, 2024
1 parent 4420494 commit fece062
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,6 @@ jobs:
strategy:
matrix:
include:
- elixir: 1.14.0
otp: 24.3.4
suffix: "alpine-3.12.0"
- elixir: 1.16.2
otp: 26.2.5
suffix: "alpine-3.19.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ defmodule Phoenix.Integration.CodeGeneration.AppWithNoOptionsTest do
end)

:inets.start()
{:ok, response} = request_with_retries("http://localhost:4000")
{:ok, response} = request_with_retries("http://localhost:4000", 20)
assert response.status_code == 200
assert response.body =~ "PhxBlog"

Expand Down Expand Up @@ -85,7 +85,7 @@ defmodule Phoenix.Integration.CodeGeneration.AppWithNoOptionsTest do
}}

{:error, {:failed_connect, _}} ->
Process.sleep(1_000)
Process.sleep(5_000)
request_with_retries(url, retries - 1)

{:error, reason} ->
Expand Down

0 comments on commit fece062

Please sign in to comment.