mirror of
https://github.com/yunginnanet/Rate5
synced 2024-06-27 01:18:37 +00:00
Style[tests]: adjust test log output
This commit is contained in:
parent
d30d173462
commit
99403c33cc
@ -282,7 +282,7 @@ func Test_Speedometer(t *testing.T) {
|
||||
}
|
||||
})
|
||||
|
||||
t.Run("SynSynAckAck", func(t *testing.T) {
|
||||
t.Run("limited TCP bandwidth", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
var (
|
||||
server net.Listener
|
||||
@ -348,7 +348,7 @@ func Test_Speedometer(t *testing.T) {
|
||||
case n != len(buf):
|
||||
t.Errorf("Failed to write all bytes: %d", n)
|
||||
default:
|
||||
t.Logf("Wrote %d bytes", n)
|
||||
t.Logf("Wrote %d bytes (rate: %v/bps)", n, speedometer.Rate())
|
||||
}
|
||||
}
|
||||
}()
|
||||
|
Loading…
Reference in New Issue
Block a user