1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
Skip failing tests: syslog test requires a running syslogd; TestCommandRun_mDNS
does not seem to work in sbuild/pbuilder.
--- a/cmd/serf/command/agent/command_test.go
+++ b/cmd/serf/command/agent/command_test.go
@@ -221,6 +221,7 @@
}
func TestCommandRun_mDNS(t *testing.T) {
+ t.SkipNow()
// mDNS does not work in travis
if os.Getenv("TRAVIS") != "" {
t.SkipNow()
--- a/cmd/serf/command/agent/syslog_test.go
+++ b/cmd/serf/command/agent/syslog_test.go
@@ -1,3 +1,5 @@
+// +build ignore
+
package agent
import (
--- a/coordinate/client_test.go
+++ b/coordinate/client_test.go
@@ -80,7 +80,7 @@
dist := client.DistanceTo(other)
// Update with a series of invalid ping periods, should return an error and estimated rtt remains unchanged
- pings := []int{1<<63 - 1, -35, 11}
+ pings := []int64{1<<63 - 1, -35, 11}
for _, ping := range pings {
expectedErr := fmt.Errorf("round trip time not in valid range, duration %v is not a positive value less than %v", ping, 10*time.Second)
|