tests(standby_test): comments

This commit is contained in:
Yicheng Qin 2014-05-30 18:36:23 -07:00
parent 4bebb538eb
commit ca29691543

View File

@ -313,7 +313,7 @@ func TestStandbyJoinMiss(t *testing.T) {
// Wait for a monitor cycle before checking for removal. // Wait for a monitor cycle before checking for removal.
time.Sleep(server.ActiveMonitorTimeout + (1 * time.Second)) time.Sleep(server.ActiveMonitorTimeout + (1 * time.Second))
// Verify that we now have four peers. // Verify that we now have one peer.
result, err = c.Get("_etcd/machines", false, true) result, err = c.Get("_etcd/machines", false, true)
assert.NoError(t, err) assert.NoError(t, err)
assert.Equal(t, len(result.Node.Nodes), 1) assert.Equal(t, len(result.Node.Nodes), 1)