From 4506459f15652280a6bb77858f22ff7a34d834c5 Mon Sep 17 00:00:00 2001 From: Max Rogozhnikov Date: Fri, 6 May 2022 12:18:28 +0300 Subject: [PATCH] fix: add nolint parallel test --- js/modules/k6/http/request_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/modules/k6/http/request_test.go b/js/modules/k6/http/request_test.go index 5e15437faec..84f8f4ea0bc 100644 --- a/js/modules/k6/http/request_test.go +++ b/js/modules/k6/http/request_test.go @@ -909,8 +909,8 @@ func TestRequestAndBatch(t *testing.T) { assertRequestMetricsEmitted(t, metrics.GetBufferedSamples(samples), "GET", sr("HTTPBIN_URL/cookies"), "", 200, "") }) + //nolint:parallel test t.Run("clear", func(t *testing.T) { - t.Parallel() cookieJar, err := cookiejar.New(nil) assert.NoError(t, err) state.CookieJar = cookieJar @@ -927,8 +927,8 @@ func TestRequestAndBatch(t *testing.T) { assertRequestMetricsEmitted(t, metrics.GetBufferedSamples(samples), "GET", sr("HTTPBIN_URL/cookies"), "", 200, "") }) + //nolint:parallel test t.Run("delete", func(t *testing.T) { - t.Parallel() cookieJar, err := cookiejar.New(nil) assert.NoError(t, err) state.CookieJar = cookieJar