mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -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"},
|
OutboundSelector: []string{"test"},
|
||||||
Strategy: "leastload",
|
Strategy: "leastload",
|
||||||
StrategySettings: serial.ToTypedMessage(&router.StrategyLeastLoadConfig{
|
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{
|
Costs: []*router.StrategyWeight{
|
||||||
{
|
{
|
||||||
Regexp: true,
|
Regexp: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user