1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-26 01:15:38 +00:00

adjust test with updated structure

This commit is contained in:
Shelikhoo 2021-06-19 11:36:22 +01:00
parent 9f984cade0
commit 6fd8e36a3b
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316

View File

@ -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,