Skip to content

Commit

Permalink
Skip the TestCommandRun_mDNS test in CircleCI
Browse files Browse the repository at this point in the history
The test requires IPv6 unicast which does not work in CircleCI

See #630
  • Loading branch information
dnephin committed Oct 1, 2021
1 parent 8649877 commit deaa93b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmd/serf/command/agent/command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,8 @@ func TestCommandRun_advertiseAddr(t *testing.T) {
}

func TestCommandRun_mDNS(t *testing.T) {
// mDNS does not work in travis
if os.Getenv("TRAVIS") != "" {
t.SkipNow()
if os.Getenv("CI") != "" {
t.Skip("This test requires IPv6 unicast, which does not work in CircleCI environment")
}

// Start an agent
Expand Down

0 comments on commit deaa93b

Please sign in to comment.