Skip to content

Commit

Permalink
Do not race with pruning to validate headers and validators (cometbft…
Browse files Browse the repository at this point in the history
  • Loading branch information
lasarojc authored and jmalicevic committed Jan 24, 2024
1 parent ad5bff2 commit 48d7c1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/e2e/tests/block_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
func TestBlock_Header(t *testing.T) {
blocks := fetchBlockChain(t)
testNode(t, func(t *testing.T, node e2e.Node) {
if node.Mode == e2e.ModeSeed {
if node.Mode == e2e.ModeSeed || node.EnableCompanionPruning {
return
}

Expand Down
2 changes: 1 addition & 1 deletion test/e2e/tests/validator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
// scheduled validator updates.
func TestValidator_Sets(t *testing.T) {
testNode(t, func(t *testing.T, node e2e.Node) {
if node.Mode == e2e.ModeSeed {
if node.Mode == e2e.ModeSeed || node.EnableCompanionPruning {
return
}

Expand Down

0 comments on commit 48d7c1e

Please sign in to comment.