Package: golang-github-hashicorp-raft / 0.0~git20160317.0.3359516-1

disable-unstable-tests.patch Patch series | download
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
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
@@ -8,9 +8,8 @@
 	"log"
 	"os"
 	"reflect"
 	"sync"
-	"sync/atomic"
 	"testing"
 	"time"
 
 	"github.com/hashicorp/go-msgpack/codec"
@@ -425,8 +424,9 @@
 
 	return c
 }
 
+/*
 func TestRaft_StartStop(t *testing.T) {
 	c := MakeCluster(1, t, nil)
 	c.Close()
 }
@@ -1650,4 +1650,5 @@
 	if resp.Granted {
 		t.Fatalf("expected vote not to be granted, but was %+v", resp)
 	}
 }
+*/