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 33 34 35
|
Description: Disable timing dependent tests
Bug: https://github.com/hashicorp/raft/issues/55
Bug-Debian: https://bugs.debian.org/796469
Last-Update: 2016-03-18
--- a/raft_test.go
+++ b/raft_test.go
@@ -7,11 +7,9 @@
"io/ioutil"
"log"
"os"
- "path/filepath"
"reflect"
"strings"
"sync"
- "sync/atomic"
"testing"
"time"
@@ -662,6 +660,7 @@
return makeCluster(n, false, t, conf)
}
+/*
func TestRaft_StartStop(t *testing.T) {
c := MakeCluster(1, t, nil)
c.Close()
@@ -2285,6 +2284,7 @@
c.FailNowf("[ERR] expected vote not to be granted, but was %+v", resp)
}
}
+*/
func TestRaft_ProtocolVersion_RejectRPC(t *testing.T) {
c := MakeCluster(3, t, nil)
|