Skip to content

Commit c060993

Browse files
committed
Remove warnings
1 parent 9af3061 commit c060993

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/outline-ss-server/metrics_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ func BenchmarkCloseTCP(b *testing.B) {
149149
duration := time.Minute
150150
b.ResetTimer()
151151
for i := 0; i < b.N; i++ {
152+
ssMetrics.AddAuthenticatedTCPConnection(addr, accessKey)
152153
ssMetrics.AddClosedTCPConnection(ipinfo, addr, accessKey, status, data, duration)
153154
ssMetrics.AddTCPCipherSearch(true, timeToCipher)
154155
}

0 commit comments

Comments
 (0)