Skip to content

Commit

Permalink
fix: add nolint parallel test
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksimall89 authored May 6, 2022
1 parent 99eaa8e commit 4506459
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/modules/k6/http/request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 4506459

Please sign in to comment.