From a29a6a586dc340e60631bf5edea52806bba0060d Mon Sep 17 00:00:00 2001 From: v2ray Date: Mon, 25 Jul 2016 21:43:57 +0200 Subject: [PATCH] one more test case --- common/protocol/server_picker_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/protocol/server_picker_test.go b/common/protocol/server_picker_test.go index 5da4fdfc..b5f6f926 100644 --- a/common/protocol/server_picker_test.go +++ b/common/protocol/server_picker_test.go @@ -43,6 +43,8 @@ func TestServerPicker(t *testing.T) { assert.Port(server.Destination().Port()).Equals(2) server = picker.PickServer() assert.Port(server.Destination().Port()).Equals(3) + server = picker.PickServer() + assert.Port(server.Destination().Port()).Equals(1) time.Sleep(2 * time.Second) server = picker.PickServer()