Просмотр исходного кода

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

Simon Frei 3 лет назад
Родитель
Сommit
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 {