-
Notifications
You must be signed in to change notification settings - Fork 5.8k
test: internet speed fails on bad reocrd MAC #11123
Copy link
Copy link
Closed
Labels
bugunexpected problem or unintended behaviorunexpected problem or unintended behavior
Description
Relevant telegraf.conf
n/aLogs from Telegraf
2022/05/17 14:43:00 D! [] Found server: [8182] 5.09km
Boise, ID (United States) by Sparklight
2022/05/17 14:43:00 D! [] Starting Speed Test
2022/05/17 14:43:00 D! [] Running Ping...
2022/05/17 14:43:00 D! [] Running Download...
--- FAIL: TestGathering (6.06s)
internet_speed_test.go:21:
Error Trace: internet_speed_test.go:21
Error: Received unexpected error:
download test failed: local error: tls: bad record MAC
Test: TestGathering
2022/05/17 14:43:05 D! [] Found server: [8182] 5.09km
Boise, ID (United States) by Sparklight
2022/05/17 14:43:05 D! [] Starting Speed Test
2022/05/17 14:43:05 D! [] Running Ping...
2022/05/17 14:43:05 D! [] Running Download...
2022/05/17 14:43:10 D! [] Running Upload...
2022/05/17 14:43:28 D! [] Test finished.
FAIL
FAIL github.com/influxdata/telegraf/plugins/inputs/internet_speed 29.062s
System info
master
Docker
No response
Steps to reproduce
- ``
Expected behavior
test pass
Actual behavior
Sometimes the test fails to download or has some sort of network issue. Because this test, unlike others, has a dependency on remote networking, we should consider if we can mock this or reduce the external requirement.
Additional info
We should determine what setting we can use to limit the length of this test, to ensure it completes in a somewhat timely manner. With many tests going on at the same time I have seen it take >60 seconds, while run byitself it seems to take ~45 seconds.by itself
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugunexpected problem or unintended behaviorunexpected problem or unintended behavior