mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 06:23:39 +08:00
848af05537
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 |