diff --git a/activation/poet_client_test.go b/activation/poet_client_test.go index 782872d3474..139c02eb2d9 100644 --- a/activation/poet_client_test.go +++ b/activation/poet_client_test.go @@ -27,7 +27,6 @@ import ( ) func Test_HTTPPoetClient_ParsesURL(t *testing.T) { - t.Parallel() cfg := server.DefaultRoundConfig() t.Run("add http if missing", func(t *testing.T) { @@ -52,7 +51,6 @@ func Test_HTTPPoetClient_ParsesURL(t *testing.T) { } func Test_HTTPPoetClient_Submit(t *testing.T) { - t.Parallel() mux := http.NewServeMux() mux.HandleFunc("POST /v1/submit", func(w http.ResponseWriter, r *http.Request) { resp, err := protojson.Marshal(&rpcapi.SubmitResponse{}) @@ -85,7 +83,6 @@ func Test_HTTPPoetClient_Submit(t *testing.T) { } func Test_HTTPPoetClient_Address(t *testing.T) { - t.Parallel() t.Run("with scheme", func(t *testing.T) { t.Parallel() client, err := NewHTTPPoetClient(types.PoetServer{Address: "https://poet-address"}, PoetConfig{}) @@ -103,7 +100,6 @@ func Test_HTTPPoetClient_Address(t *testing.T) { } func Test_HTTPPoetClient_Address_Mainnet(t *testing.T) { - t.Parallel() poetCfg := server.DefaultRoundConfig() poETServers := []string{ @@ -126,7 +122,6 @@ func Test_HTTPPoetClient_Address_Mainnet(t *testing.T) { } func Test_HTTPPoetClient_Proof(t *testing.T) { - t.Parallel() mux := http.NewServeMux() mux.HandleFunc("GET /v1/proofs/1", func(w http.ResponseWriter, r *http.Request) { resp, err := protojson.Marshal(&rpcapi.ProofResponse{}) @@ -151,8 +146,6 @@ func Test_HTTPPoetClient_Proof(t *testing.T) { } func TestPoetClient_CachesProof(t *testing.T) { - t.Parallel() - var proofsCalled atomic.Uint64 mux := http.NewServeMux() mux.HandleFunc("GET /v1/proofs/", func(w http.ResponseWriter, r *http.Request) { @@ -197,8 +190,6 @@ func TestPoetClient_CachesProof(t *testing.T) { } func TestPoetClient_QueryProofTimeout(t *testing.T) { - t.Parallel() - block := make(chan struct{}) ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { <-block @@ -231,8 +222,6 @@ func TestPoetClient_QueryProofTimeout(t *testing.T) { } func TestPoetClient_Certify(t *testing.T) { - t.Parallel() - sig, err := signing.NewEdSigner() require.NoError(t, err) @@ -273,8 +262,6 @@ func TestPoetClient_Certify(t *testing.T) { } func TestPoetClient_ObtainsCertOnSubmit(t *testing.T) { - t.Parallel() - sig, err := signing.NewEdSigner() require.NoError(t, err) @@ -318,8 +305,6 @@ func TestPoetClient_ObtainsCertOnSubmit(t *testing.T) { } func TestPoetClient_RecertifiesOnAuthFailure(t *testing.T) { - t.Parallel() - sig, err := signing.NewEdSigner() require.NoError(t, err) @@ -386,8 +371,6 @@ func TestPoetClient_RecertifiesOnAuthFailure(t *testing.T) { } func TestPoetClient_FallbacksToPowWhenCannotRecertify(t *testing.T) { - t.Parallel() - sig, err := signing.NewEdSigner() require.NoError(t, err) @@ -460,7 +443,6 @@ func TestPoetClient_FallbacksToPowWhenCannotRecertify(t *testing.T) { } func TestPoetService_CachesCertifierInfo(t *testing.T) { - t.Parallel() type test struct { name string ttl time.Duration @@ -493,7 +475,6 @@ func TestPoetService_CachesCertifierInfo(t *testing.T) { } func TestPoetService_CachesPowParams(t *testing.T) { - t.Parallel() type test struct { name string ttl time.Duration