Skip to content

Commit

Permalink
Merge branch 'main' into crystal/hnt-7898-river-support-for-erc1155-t…
Browse files Browse the repository at this point in the history
…okens
  • Loading branch information
clemire authored Jul 15, 2024
2 parents 4834a60 + 6f5e4ff commit 7ea0c42
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/node/rpc/repl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (

"github.com/river-build/river/core/node/crypto"
"github.com/river-build/river/core/node/protocol"
"github.com/river-build/river/core/node/testutils"
)

func TestReplCreate(t *testing.T) {
Expand Down Expand Up @@ -52,6 +53,8 @@ func TestReplAdd(t *testing.T) {
}

func TestReplMiniblock(t *testing.T) {
testutils.SkipFlackyTest(t)

tt := newServiceTester(t, serviceTesterOpts{numNodes: 5, replicationFactor: 5, start: true})
ctx := tt.ctx
require := tt.require
Expand Down
12 changes: 12 additions & 0 deletions core/node/testutils/skip.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package testutils

import (
"os"
"testing"
)

func SkipFlackyTest(t *testing.T) {
if os.Getenv("RIVER_TEST_ENABLE_FLACKY") == "" {
t.Skip("skipping flacky test")
}
}

0 comments on commit 7ea0c42

Please sign in to comment.