influxdata / influxdata/influxdb

branch 1.7 test fails with go1.14

Open
#17,222 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.