add files
This commit is contained in:
16
p2p/speedtest_test.go
Normal file
16
p2p/speedtest_test.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package p2p
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
// To run this test ip_table.json must be populated
|
||||
func TestServer_SpeedTest(t *testing.T) {
|
||||
err := LocalSpeedTestIpTable()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
//HumaidTest("http://localhost:8088/50")
|
||||
//HumaidTest("http://ipv4.download.thinkbroadband.com/50MB.zip")
|
||||
}
|
||||
Reference in New Issue
Block a user