make up the missing new test parameter
Make up the test parameters (max_delay_time) lost due to mistakes in client_test.go. After this fix, newly added functions can be tested correctly (Does frpc perform as expected when max_delay_time is set to a value other than the default (20)?).
This commit is contained in:
parent
011422c087
commit
fce9284b3a
@ -67,6 +67,7 @@ var testClientBytesWithFull = []byte(`
|
||||
meta_var1 = 123
|
||||
meta_var2 = 234
|
||||
udp_packet_size = 1509
|
||||
max_delay_time = 60
|
||||
|
||||
# all proxy
|
||||
[ssh]
|
||||
@ -296,7 +297,7 @@ func Test_LoadClientCommonConf(t *testing.T) {
|
||||
},
|
||||
UDPPacketSize: 1509,
|
||||
IncludeConfigFiles: []string{},
|
||||
MaxDelayTime: 20,
|
||||
MaxDelayTime: 60,
|
||||
}
|
||||
|
||||
common, err := UnmarshalClientConfFromIni(testClientBytesWithFull)
|
||||
|
Loading…
Reference in New Issue
Block a user