mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-05 00:44:53 +08:00
We are seeing the following error on CI: ``` Errno::EADDRNOTAVAIL: Failed to open TCP connection to localhost:31337 (Cannot assign requested address - connect(2) for "localhost" port 31337) ``` This is because the job being enqueued makes a HTTP request to the Rails server but Capybara doesn't start the Rails server until a session is actually required. Therefore, we need to enqueue the job after we are sure that a session has been started. |
||
|---|---|---|
| .. | ||
| discourse_narrative_bot | ||
| jobs | ||
| lib | ||
| requests | ||
| system | ||
| user_spec.rb | ||