소스 검색

lib/connections: Make request tests sequential (#8263)

Simon Frei 3 년 전
부모
커밋
22e12904c9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/api/api_test.go

+ 1 - 1
lib/api/api_test.go

@@ -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 {