Closed p-acharya closed 2 years ago
Hello! I am upgrading a codebase from go 1.13 to 1.16.
The following test is now failing (error message reproduced below):
influxdb_test.go:751: unexpected error. expected 'request canceled' error, got Post "http://127.0.0.1:61711/query?db=&q=": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Here are the lines where the error is occurring .
} else if !strings.Contains(err.Error(), "request canceled") && !strings.Contains(err.Error(), "use of closed network connection") { t.Fatalf("unexpected error. expected 'request canceled' error, got %v", err) } }
Hello! I am upgrading a codebase from go 1.13 to 1.16.
The following test is now failing (error message reproduced below):
influxdb_test.go:751: unexpected error. expected 'request canceled' error, got Post "http://127.0.0.1:61711/query?db=&q=": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Here are the lines where the error is occurring .