mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-03 07:12:27 +00:00
lib/connections: Make request tests sequential (#8263)
This commit is contained in:
parent
b947056e62
commit
22e12904c9
@ -482,7 +482,7 @@ func TestAPIServiceRequests(t *testing.T) {
|
||||
// testHTTPRequest tries the given test case, comparing the result code,
|
||||
// content type, and result prefix.
|
||||
func testHTTPRequest(t *testing.T, baseURL string, tc httpTestCase, apikey string) {
|
||||
t.Parallel()
|
||||
// Should not be parallelized, as that just causes timeouts eventually with more test-cases
|
||||
|
||||
timeout := time.Second
|
||||
if tc.Timeout > 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user