Skip to content
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 flaky test case for synchrony driver #944

Merged
merged 1 commit into from Sep 8, 2020

Conversation

supercaracal
Copy link
Contributor

@supercaracal supercaracal commented Sep 8, 2020

This PR will resolve #943.

conn = EventMachine.connect(config[:host], config[:port], RedisClient) do |c|
c.pending_connect_timeout = [config[:connect_timeout], 0.1].max
end

on GitHub Actions

$ cat /etc/hosts
127.0.0.1 localhost
---snip---
$ cat /etc/resolv.conf
---snip---
nameserver 127.0.0.53
options edns0
search equ4xg1rbhmubnhv1dj5iatrre.bx.internal.cloudapp.net
$ cat /etc/nsswitch.conf
---snip---
hosts:          files dns
---snip---

Ref: #915

@byroot byroot merged commit af087c5 into redis:master Sep 8, 2020
@supercaracal supercaracal deleted the fix-flaky-test-for-synchrony branch September 8, 2020 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flaky test cases for Sentinel when using synchrony connection driver
2 participants