mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 17:46:58 -05:00
adjust test with updated structure
This commit is contained in:
parent
9f984cade0
commit
6fd8e36a3b
@ -115,13 +115,6 @@ func TestRouterConfig(t *testing.T) {
|
||||
OutboundSelector: []string{"test"},
|
||||
Strategy: "leastload",
|
||||
StrategySettings: serial.ToTypedMessage(&router.StrategyLeastLoadConfig{
|
||||
HealthCheck: &router.HealthPingConfig{
|
||||
Interval: int64(time.Duration(5) * time.Minute),
|
||||
SamplingCount: 2,
|
||||
Timeout: int64(time.Duration(5) * time.Second),
|
||||
Destination: "dest",
|
||||
Connectivity: "conn",
|
||||
},
|
||||
Costs: []*router.StrategyWeight{
|
||||
{
|
||||
Regexp: true,
|
||||
|
Loading…
Reference in New Issue
Block a user