Skip to content

Commit

Permalink
only run test on protocol 22 or higher
Browse files Browse the repository at this point in the history
  • Loading branch information
tamirms committed Dec 24, 2024
1 parent 6a7b1bd commit 156ef1c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions services/horizon/internal/integration/load_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ func TestLoad(t *testing.T) {
flag.IntVar(&ledgers, "ledgers", 2, "number of ledgers to generate")
flag.Parse()

if integration.GetCoreMaxSupportedProtocol() < 22 {
t.Skip("This test run does not support less than Protocol 22")
}

itest := integration.NewTest(t, integration.Config{
EnableSorobanRPC: true,
})
Expand Down

0 comments on commit 156ef1c

Please sign in to comment.