Comments (5)
There are a couple things that could be causing this. It shouldn't be possible to checkout a phantom before its started. A more likely solution is that its the phoenix server booting up / building assets. I'm not opposed to setting a longer timeout for httpoison though. Its probably better to return a more meaningful error from Wallaby anyway. Either way it would be worth digging into a bit to see exactly whats going on.
from wallaby.
We hit this too due to webpack building assets.
from wallaby.
Would you mind submitting a PR for this? I won't be able to get to it for a few days.
from wallaby.
I've had this error and made a fork of this project.
Basically i did the following:
defp make_request(method, url, body) do
headers = [{"Content-Type", "text/json"}]
case HTTPoison.request(method, url, body, headers, [timeout: :infinity, recv_timeout: :infinity]) do
{:ok, response} ->
Poison.decode!(response.body)
{:error, e} ->
raise "There was an error calling: #{url} -> #{e.reason}"
end
end
Essential just setting both poison options : [timeout: :infinity, recv_timeout: :infinity]
.
It solves the timeout issue.
If you guys are ok, I could submit a PR.
from wallaby.
Please do.
On Mon, Aug 15, 2016 at 10:05 PM steve [email protected] wrote:
I've had this error and made a fork of this project.
Basically i did the following:
defp make_request(method, url, body) do
headers = [{"Content-Type", "text/json"}]
case HTTPoison.request(method, url, body, headers, [timeout: :infinity, recv_timeout: :infinity]) do
{:ok, response} ->
Poison.decode!(response.body)
{:error, e} ->
raise "There was an error calling: #{url} -> #{e.reason}"
end
endEssential just setting both poison options : [timeout: :infinity,
recv_timeout: :infinity].It solves the timeout issue.
If you guys are ok, I could submit a PR.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#74 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABkOb4ApgUidPpQfiu4DtC4-c1904yvMks5qgRrngaJpZM4JfRa0
.
from wallaby.
Related Issues (20)
- Unexpected output to console when running tests HOT 3
- LiveViewTest Driver HOT 1
- Error tracking db ownership when overriding the useragent of the session HOT 1
- Uncaught TypeError: Cannot set properties of null (setting 'textContent') when field exists (or seems to)
- Multiple wallaby configs for different umbrella apps HOT 4
- chromedriver 115.0.5790.102 not working HOT 10
- Passed capabilities may be passed in the wrong format HOT 1
- Modify capabilities while keeping metadata in user agent HOT 2
- Wallaby test issue HOT 1
- js_errors: false config is being ignored
- Is it possible to configure "headless: true | false" at session opening? HOT 2
- Chrome is activated but the test times out HOT 4
- Test cases fail randomely because of missing elements HOT 3
- `run_command.sh` improvements HOT 1
- Running wallaby `feature` tests in VS Code HOT 1
- Minor thing: change wording of docs --> browser / users are not the same. HOT 2
- Suggested Phoenix Configuration for Concurrent Feature Test Issues Warning HOT 1
- How Might A Developer New to Wallaby Understand 'page' In the Documentation? HOT 5
- Setup docs unclear when using Phoenix but not Ecto HOT 3
- Use external chromedriver server? HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wallaby.