1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-25 17:05:23 +00:00

fix a broken test

This commit is contained in:
Darien Raymond 2019-02-06 11:30:20 +01:00
parent 836440c61a
commit 729e448a35
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -262,7 +262,7 @@ func TestCommanderAddRemoveUser(t *testing.T) {
servers, err := InitializeServerConfigs(serverConfig, clientConfig)
common.Must(err)
CloseAllServers(servers)
defer CloseAllServers(servers)
if err := testTCPConn(clientPort, 1024, time.Second*5)(); err != nil {
t.Fatal(err)