mirror of
https://github.com/v2fly/v2ray-core
synced 2024-02-27 03:18:06 +00:00
one more test case
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user