Skip to content

Commit

Permalink
disable flaky relay example test on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Oct 4, 2021
1 parent e70d7cf commit 103cf36
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/relay/main_test.go
@@ -1,12 +1,16 @@
package main

import (
"os"
"testing"

"github.com/libp2p/go-libp2p/examples/testutils"
)

func TestMain(t *testing.T) {
if os.Getenv("CI") != "" {
t.Skip("This test is flaky on CI, see https://github.com/libp2p/go-libp2p/issues/1158.")
}
var h testutils.LogHarness
h.ExpectPrefix("Okay, no connection from h1 to h3")
h.ExpectPrefix("Meow! It worked!")
Expand Down

0 comments on commit 103cf36

Please sign in to comment.