@@ -474,6 +474,8 @@ func TestWithServiceAccount(t *testing.T) {
474474}
475475
476476func TestEventLimits (t * testing.T ) {
477+ t .Parallel ()
478+
477479 chain , vm := createChainAndVm (flow .Mainnet )
478480
479481 ctx := fvm .NewContext (
@@ -579,6 +581,7 @@ func TestEventLimits(t *testing.T) {
579581// TestHappyPathSigning checks that a signing a transaction with `Sign` doesn't produce an error.
580582// Transaction verification tests are in `TestVerifySignatureFromTransaction`.
581583func TestHappyPathTransactionSigning (t * testing.T ) {
584+ t .Parallel ()
582585
583586 newVMTest ().run (
584587 func (t * testing.T , vm fvm.VM , chain flow.Chain , ctx fvm.Context , snapshotTree snapshot.SnapshotTree ) {
@@ -620,6 +623,8 @@ func TestHappyPathTransactionSigning(t *testing.T) {
620623}
621624
622625func TestTransactionFeeDeduction (t * testing.T ) {
626+ t .Parallel ()
627+
623628 getBalance := func (vm fvm.VM , chain flow.Chain , ctx fvm.Context , snapshotTree snapshot.SnapshotTree , address flow.Address ) uint64 {
624629 sc := systemcontracts .SystemContractsForChain (chain .ChainID ())
625630 code := []byte (fmt .Sprintf (
@@ -1098,6 +1103,7 @@ func TestTransactionFeeDeduction(t *testing.T) {
10981103}
10991104
11001105func TestSettingExecutionWeights (t * testing.T ) {
1106+ t .Parallel ()
11011107
11021108 // change the chain so that the metering settings are read from the service account
11031109 chain := flow .Emulator .Chain ()
@@ -1837,6 +1843,8 @@ func TestEnforcingComputationLimit(t *testing.T) {
18371843}
18381844
18391845func TestStorageCapacity (t * testing.T ) {
1846+ t .Parallel ()
1847+
18401848 t .Run ("Storage capacity updates on FLOW transfer" , newVMTest ().
18411849 withContextOptions (
18421850 fvm .WithAuthorizationChecksEnabled (false ),
@@ -2328,6 +2336,9 @@ func TestScriptExecutionLimit(t *testing.T) {
23282336}
23292337
23302338func TestInteractionLimit (t * testing.T ) {
2339+
2340+ t .Parallel ()
2341+
23312342 type testCase struct {
23322343 name string
23332344 interactionLimit uint64
@@ -2497,6 +2508,7 @@ func TestInteractionLimit(t *testing.T) {
24972508}
24982509
24992510func TestAttachments (t * testing.T ) {
2511+ t .Parallel ()
25002512
25012513 newVMTest ().
25022514 withBootstrapProcedureOptions ().
@@ -2531,6 +2543,8 @@ func TestAttachments(t *testing.T) {
25312543}
25322544
25332545func TestCapabilityControllers (t * testing.T ) {
2546+ t .Parallel ()
2547+
25342548 test := func (t * testing.T ) {
25352549 newVMTest ().
25362550 withBootstrapProcedureOptions ().
@@ -2800,6 +2814,8 @@ func TestStorageIterationWithBrokenValues(t *testing.T) {
28002814}
28012815
28022816func TestEntropyCallOnlyOkIfAllowed (t * testing.T ) {
2817+ t .Parallel ()
2818+
28032819 source := testutil .EntropyProviderFixture (nil )
28042820
28052821 test := func (t * testing.T , allowed bool ) {
@@ -2859,6 +2875,8 @@ func TestEntropyCallOnlyOkIfAllowed(t *testing.T) {
28592875}
28602876
28612877func TestEntropyCallExpectsNoParameters (t * testing.T ) {
2878+ t .Parallel ()
2879+
28622880 source := testutil .EntropyProviderFixture (nil )
28632881 newVMTest ().
28642882 withBootstrapProcedureOptions ().
@@ -2902,6 +2920,7 @@ func TestEntropyCallExpectsNoParameters(t *testing.T) {
29022920}
29032921
29042922func TestTransientNetworkCoreContractAddresses (t * testing.T ) {
2923+ t .Parallel ()
29052924
29062925 // This test ensures that the transient networks have the correct core contract addresses.
29072926 newVMTest ().
@@ -2927,6 +2946,8 @@ func TestTransientNetworkCoreContractAddresses(t *testing.T) {
29272946}
29282947
29292948func TestFlowCallbackScheduler (t * testing.T ) {
2949+ t .Parallel ()
2950+
29302951 ctxOpts := []fvm.Option {
29312952 fvm .WithScheduleCallbacksEnabled (true ),
29322953 }
@@ -2975,6 +2996,8 @@ func TestFlowCallbackScheduler(t *testing.T) {
29752996}
29762997
29772998func TestEVM (t * testing.T ) {
2999+ t .Parallel ()
3000+
29783001 blocks := new (envMock.Blocks )
29793002 block1 := unittest .BlockFixture ()
29803003 blocks .On ("ByHeightFrom" ,
@@ -3244,6 +3267,8 @@ func TestEVM(t *testing.T) {
32443267}
32453268
32463269func TestVMBridge (t * testing.T ) {
3270+ t .Parallel ()
3271+
32473272 blocks := new (envMock.Blocks )
32483273 block1 := unittest .BlockFixture ()
32493274 blocks .On ("ByHeightFrom" ,
@@ -3812,6 +3837,7 @@ func TestVMBridge(t *testing.T) {
38123837}
38133838
38143839func TestAccountCapabilitiesGetEntitledRejection (t * testing.T ) {
3840+ t .Parallel ()
38153841
38163842 // Note: This cannot be tested anymore using a transaction,
38173843 // because publish method also aborts when trying to publish an entitled capability.
@@ -3874,6 +3900,7 @@ func TestAccountCapabilitiesGetEntitledRejection(t *testing.T) {
38743900}
38753901
38763902func TestAccountCapabilitiesPublishEntitledRejection (t * testing.T ) {
3903+ t .Parallel ()
38773904
38783905 t .Run ("entitled capability" , newVMTest ().
38793906 run (func (
@@ -4131,6 +4158,7 @@ func TestCrypto(t *testing.T) {
41314158}
41324159
41334160func Test_BlockHashListShouldWriteOnPush (t * testing.T ) {
4161+ t .Parallel ()
41344162
41354163 chain := flow .Emulator .Chain ()
41364164 sc := systemcontracts .SystemContractsForChain (chain .ChainID ())
0 commit comments