showwin / speedtest-go

CLI and Go API to Test Internet Speed using speedtest.net
MIT License
570 stars 115 forks source link

Go test broken #173

Closed abdulocracy closed 9 months ago

abdulocracy commented 10 months ago

When testing after go build with go test ./speedtest, I get this error:

downRate: 0.19Mbps | upRate: 0.00Mbps
downRate: 0.00Mbps | upRate: 51.64Mbps

Download:  0.19 Mbit/s
Upload: 51.64 Mbit/s

--- FAIL: TestFetchServerByID (1.24s)
    server_test.go:166: no server available or found
FAIL
FAIL    github.com/showwin/speedtest-go/speedtest       6.741s
FAIL
r3inbowari commented 9 months ago

Thank you @abdulocracy!