mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
dev: fix: t.Parallel called multiple times
This commit is contained in:
parent
c57ef82236
commit
ba61cfa2e1
4 changed files with 1 additions and 5 deletions
|
|
@ -2653,7 +2653,6 @@ func TestJournalingNoLocals(t *testing.T) {
|
|||
|
||||
func testJournaling(t *testing.T, nolocals bool) {
|
||||
t.Helper()
|
||||
t.Parallel()
|
||||
|
||||
// Create a temporary file for the journal
|
||||
file, err := os.CreateTemp("", "")
|
||||
|
|
|
|||
|
|
@ -339,7 +339,7 @@ func TestSendTransactions68(t *testing.T) {
|
|||
}
|
||||
|
||||
func testSendTransactions(t *testing.T, protocol uint) {
|
||||
t.Parallel()
|
||||
t.Helper()
|
||||
|
||||
// Create a message handler and fill the pool with big transactions
|
||||
handler := newTestHandler()
|
||||
|
|
|
|||
|
|
@ -478,7 +478,6 @@ func TestGetNodeData68(t *testing.T) {
|
|||
|
||||
func testGetNodeData(t *testing.T, protocol uint, drop bool) {
|
||||
t.Helper()
|
||||
t.Parallel()
|
||||
|
||||
// Define three accounts to simulate transactions with
|
||||
acc1Key, _ := crypto.HexToECDSA("8a1f9a8f95be41cd7ccb6168179afb4504aefe388d1e14474d32c45c72ce7b7a")
|
||||
|
|
|
|||
|
|
@ -102,8 +102,6 @@ func (at *authTest) Run(t *testing.T) {
|
|||
|
||||
// nolint: tparallel, paralleltest
|
||||
func TestAuthEndpoints(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
var secret [32]byte
|
||||
if _, err := crand.Read(secret[:]); err != nil {
|
||||
t.Fatalf("failed to create jwt secret: %v", err)
|
||||
|
|
|
|||
Loading…
Reference in a new issue