@@ -321,6 +321,9 @@ func TestWriteRawTransactions_UniqueKeys(t *testing.T) {
321321
322322// Tests block header storage and retrieval operations.
323323func TestHeaderStorage (t * testing.T ) {
324+ if testing .Short () {
325+ t .Skip ("slow test" )
326+ }
324327 t .Parallel ()
325328 m := execmoduletester .New (t )
326329 tx , err := m .DB .BeginRw (m .Ctx )
@@ -362,6 +365,9 @@ func TestHeaderStorage(t *testing.T) {
362365
363366// Tests block body storage and retrieval operations.
364367func TestBodyStorage (t * testing.T ) {
368+ if testing .Short () {
369+ t .Skip ("slow test" )
370+ }
365371 t .Parallel ()
366372 m := execmoduletester .New (t )
367373 tx , err := m .DB .BeginRw (m .Ctx )
@@ -431,6 +437,9 @@ func TestBodyStorage(t *testing.T) {
431437
432438// Tests block storage and retrieval operations.
433439func TestBlockStorage (t * testing.T ) {
440+ if testing .Short () {
441+ t .Skip ("slow test" )
442+ }
434443 t .Parallel ()
435444 m := execmoduletester .New (t )
436445 require := require .New (t )
@@ -549,6 +558,9 @@ func TestBlockStorage(t *testing.T) {
549558
550559// Tests that partial block contents don't get reassembled into full blocks.
551560func TestPartialBlockStorage (t * testing.T ) {
561+ if testing .Short () {
562+ t .Skip ("slow test" )
563+ }
552564 t .Parallel ()
553565 m := execmoduletester .New (t )
554566 tx , err := m .DB .BeginRw (m .Ctx )
@@ -596,6 +608,9 @@ func TestPartialBlockStorage(t *testing.T) {
596608
597609// Tests block total difficulty storage and retrieval operations.
598610func TestTdStorage (t * testing.T ) {
611+ if testing .Short () {
612+ t .Skip ("slow test" )
613+ }
599614 t .Parallel ()
600615 m := execmoduletester .New (t )
601616 tx , err := m .DB .BeginRw (m .Ctx )
@@ -641,6 +656,9 @@ func TestTdStorage(t *testing.T) {
641656
642657// Tests that canonical numbers can be mapped to hashes and retrieved.
643658func TestCanonicalMappingStorage (t * testing.T ) {
659+ if testing .Short () {
660+ t .Skip ("slow test" )
661+ }
644662 t .Parallel ()
645663 m := execmoduletester .New (t )
646664 tx , err := m .DB .BeginRw (m .Ctx )
@@ -715,6 +733,9 @@ func TestHeadStorage2(t *testing.T) {
715733
716734// Tests that head headers and head blocks can be assigned, individually.
717735func TestHeadStorage (t * testing.T ) {
736+ if testing .Short () {
737+ t .Skip ("slow test" )
738+ }
718739 t .Parallel ()
719740 m := execmoduletester .New (t )
720741 m .DB .(state.HasAgg ).Agg ().(* state.Aggregator ).EnableDomain (kv .RCacheDomain )
@@ -740,6 +761,9 @@ func TestHeadStorage(t *testing.T) {
740761
741762// Tests that receipts associated with a single block can be stored and retrieved.
742763func TestBlockReceiptStorage (t * testing.T ) {
764+ if testing .Short () {
765+ t .Skip ("slow test" )
766+ }
743767 t .Parallel ()
744768 m := execmoduletester .New (t )
745769 m .DB .(state.HasAgg ).Agg ().(* state.Aggregator ).EnableDomain (kv .RCacheDomain )
@@ -850,6 +874,9 @@ func TestBlockReceiptStorage(t *testing.T) {
850874
851875// Tests block storage and retrieval operations with withdrawals.
852876func TestBlockWithdrawalsStorage (t * testing.T ) {
877+ if testing .Short () {
878+ t .Skip ("slow test" )
879+ }
853880 t .Parallel ()
854881 m := execmoduletester .New (t )
855882 require := require .New (t )
@@ -1102,6 +1129,9 @@ func TestShanghaiBodyForStorageNoWithdrawals(t *testing.T) {
11021129}
11031130
11041131func TestBadBlocks (t * testing.T ) {
1132+ if testing .Short () {
1133+ t .Skip ("slow test" )
1134+ }
11051135 t .Parallel ()
11061136 m := execmoduletester .New (t )
11071137 tx , err := m .DB .BeginRw (m .Ctx )
0 commit comments