Skip to content

Commit

Permalink
Revert ":white_check_mark: Fix race condition"
Browse files Browse the repository at this point in the history
This reverts commit eb049c4.
  • Loading branch information
vankichi committed Dec 19, 2024
1 parent fe700ed commit d2102b2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions internal/net/http/json/json_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func TestMain(m *testing.M) {
}

func TestEncodeResponse(t *testing.T) {
t.Parallel()
type args struct {
w http.ResponseWriter
data any
Expand Down Expand Up @@ -108,6 +109,7 @@ func TestEncodeResponse(t *testing.T) {
}

func TestDecodeRequest(t *testing.T) {
t.Parallel()
type args struct {
r *http.Request
data map[string]string
Expand Down Expand Up @@ -177,6 +179,7 @@ func TestDecodeRequest(t *testing.T) {
}

func TestHandler(t *testing.T) {
t.Parallel()
type args struct {
w http.ResponseWriter
r *http.Request
Expand Down Expand Up @@ -330,6 +333,7 @@ func TestHandler(t *testing.T) {
}

func TestErrorHandler(t *testing.T) {
t.Parallel()
type args struct {
w http.ResponseWriter
r *http.Request
Expand Down Expand Up @@ -394,6 +398,7 @@ func TestErrorHandler(t *testing.T) {
}

func TestDecodeResponse(t *testing.T) {
t.Parallel()
type args struct {
res *http.Response
data any
Expand Down Expand Up @@ -543,6 +548,7 @@ func TestDecodeResponse(t *testing.T) {
}

func TestEncodeRequest(t *testing.T) {
t.Parallel()
type args struct {
req *http.Request
data any
Expand Down Expand Up @@ -655,6 +661,7 @@ func TestEncodeRequest(t *testing.T) {
}

func TestRequest(t *testing.T) {
t.Parallel()
type args struct {
ctx context.Context
method string
Expand Down

0 comments on commit d2102b2

Please sign in to comment.