-
-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix(until_and_while_executing): Improve timeouts slightly #728
Conversation
@@ -3,12 +3,14 @@ | |||
RSpec.describe "SidekiqUniqueJobs::Lock::UntilAndWhileExecuting" do | |||
before do | |||
digests.delete_by_pattern("*") | |||
toxic_redis_url = ENV["CI"] ? "toxiproxy:21212" : "localhost:21212" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suspect you'll also need the following for CI to properly point to the toxiproxy daemon container/service:
Toxiproxy.host = 'http://toxiproxy:8474' if ENV["CI"]
I'd imagine this'll resolve the current Failed to open TCP connection to 127.0.0.1:8474
errors in CI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failed to open TCP connection to toxiproxy:8474 (getaddrinfo: Temporary failure in name resolution)
🤷♂️
Well I got it working locally so I'll skip this spec for CI for now.
No description provided.