1
0
mirror of https://github.com/netbirdio/netbird.git synced 2025-07-05 17:10:03 +02:00
This commit is contained in:
Zoltán Papp
2024-07-29 22:03:09 +02:00
parent 7942b0ebae
commit aa1a482669

@ -59,7 +59,7 @@ func TestTurnDataTransfer(t *testing.T) {
for _, peerPairs := range pairs {
t.Run(fmt.Sprintf("peerPairs-%d", peerPairs), func(t *testing.T) {
tunTurnTest(t, testData, peerPairs)
runTurnTest(t, testData, peerPairs)
})
}
}
@ -209,7 +209,8 @@ func transfer(t *testing.T, testData []byte, peerPairs int) {
}
}
func tunTurnTest(t *testing.T, testData []byte, maxPairs int) {
func runTurnTest(t *testing.T, testData []byte, maxPairs int) {
t.Helper()
var transferDuration []time.Duration
var wg sync.WaitGroup