googleapis / googleapis/storage-testbench

Storage testbench should "close connection" after every request

Open
#484 0 comments 0 reactions 0 assignees View on GitHub
priority: p2 type: bug
Dominant language
Python
Stars
24
Forks
38
Avg merge
1d 15h
Merged PRs (30d)
1

Description

ISSUE FACED:
Retry conformance tests were failing for dotnet on being deployed on Github CI. The issue was flaky in the test suite. The error was:
" System.Net.Http.HttpRequestException : An error occurred while sending the request.
---- System.IO.IOException : The response ended prematurely. "

POSSIBLE SOLUTION:
Change the testbench to use a different worker type that supports keep-alive connections (and probably extend the default keep-alive time to 15 seconds or similar)
OR
Work out why HttpClient isn't reliably detecting the connection closing, and fix that (so that it just automatically uses a new connection)

Please refer to b/275276459 for more details and examples

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.