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:
parent
c96533f278
commit
a29a6a586d
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user