mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
discovery: add a overfull case for waitNodes
This commit is contained in:
parent
fdfaf07c46
commit
08ebb05335
@ -162,6 +162,15 @@ func TestWaitNodes(t *testing.T) {
|
||||
nil,
|
||||
all,
|
||||
},
|
||||
{
|
||||
append(all, &client.Node{Key: "/1000/4", CreatedIndex: 5}),
|
||||
3,
|
||||
[]*client.Response{
|
||||
{Node: &client.Node{Key: "/1000/3", CreatedIndex: 4}},
|
||||
},
|
||||
nil,
|
||||
all,
|
||||
},
|
||||
}
|
||||
|
||||
for i, tt := range tests {
|
||||
|
Loading…
x
Reference in New Issue
Block a user