1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05:00

one more test case

This commit is contained in:
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

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