From d0674dc8368d636cfe844c043ed48a92b150b811 Mon Sep 17 00:00:00 2001 From: iamqizhao <toqizhao@gmail.com> Date: Tue, 15 Dec 2015 17:36:03 -0800 Subject: [PATCH] add some comments --- picker_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/picker_test.go b/picker_test.go index 70dae207..0ee789e6 100644 --- a/picker_test.go +++ b/picker_test.go @@ -184,6 +184,7 @@ func TestEmptyAddrs(t *testing.T) { Op: naming.Delete, Addr: "127.0.0.1:" + servers[0].port, }) + // Wait until the first reading is done. wg.Wait() r.w.inject(updates) ctx, _ := context.WithTimeout(context.Background(), 10*time.Millisecond)