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:
suiahae 2023-01-29 12:49:23 +08:00 committed by GitHub
parent 011422c087
commit fce9284b3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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