influxdata / influxdata/influxdb
branch 1.7 test fails with go1.14
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
It works with go1.13 but fails with go1.14. Seems the error string returned changed.
```
=== RUN TestClient_Timeout
TestClient_Timeout: influxdb_test.go:751: unexpected error. expected 'request canceled' error, got Post "http://127.0.0.1:41017/query?db=&q=": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
--- FAIL: TestClient_Timeout (0.50s)
```
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with TestClient_Timeout in influxdb_test.go around line 751 and run the failing test with Go 1.14. Compare the Go 1.13 and 1.14 error behavior, then confirm the test passes while accounting for the changed error string.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100