mirror of
https://github.com/syncthing/syncthing.git
synced 2026-10-23 03:34:29 -04:00
lib/connections: Make request tests sequential (#8263)
This commit is contained in:
1 parent
b947056e62
commit
22e12904c9
1 file changed
+1
-1
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user