one more test case

pull/219/head
v2ray 2016-07-25 21:43:57 +02:00
parent c96533f278
commit a29a6a586d
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 2 additions and 0 deletions

View File

@ -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()