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

clientv3/integration: add TestBalancerUnderBlackholeWatch #8791

Closed
wants to merge 1 commit into from

Conversation

gyuho
Copy link
Contributor

@gyuho gyuho commented Oct 30, 2017

Fix #8711.

@@ -26,6 +27,96 @@ import (
"github.com/coreos/etcd/pkg/testutil"
)

// TestBalancerUnderBlackholeWatch ensures that watch client
// switch its endpoints when the member of the pinned endpoint is blackholed.
func TestBalancerUnderBlackholeWatch(t *testing.T) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the difference between this one and TestWatchKeepAlive?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, TestWatchKeepAlive should cover this case. Closing. Thanks!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let us rename that test to make everything consistent.

@gyuho gyuho closed this Oct 31, 2017
@gyuho gyuho deleted the blackhole-watch branch October 31, 2017 00:07
@gyuho gyuho restored the blackhole-watch branch October 31, 2017 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants