summaryrefslogtreecommitdiff
path: root/agreement/fuzzer/tests_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'agreement/fuzzer/tests_test.go')
-rw-r--r--agreement/fuzzer/tests_test.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/agreement/fuzzer/tests_test.go b/agreement/fuzzer/tests_test.go
index f05852e39..22e1cc049 100644
--- a/agreement/fuzzer/tests_test.go
+++ b/agreement/fuzzer/tests_test.go
@@ -25,6 +25,7 @@ import (
"math"
"math/rand"
"os"
+
//ossignal "os/signal"
"path/filepath"
//"runtime/pprof"
@@ -36,6 +37,7 @@ import (
"github.com/algorand/go-algorand/logging"
"github.com/algorand/go-deadlock"
+
//"github.com/algorand/go-algorand/protocol"
"github.com/algorand/go-algorand/test/partitiontest"
)
@@ -105,6 +107,8 @@ func testConfig(t *testing.T, config NetworkConfig) (network *Network) {
*/
func TestCircularNetworkTopology(t *testing.T) {
+ // partitiontest.PartitionTest(t)
+ // Causes double partition, so commented out on purpose
var nodeCounts []int
if testing.Short() {
nodeCounts = []int{4, 6}
@@ -422,6 +426,8 @@ type FuzzerTestFile struct {
}
func TestFuzzer(t *testing.T) {
+ // partitiontest.PartitionTest(t)
+ // Causes double partition, so commented out on purpose
jsonFiles := make(map[string]string) // map json test to full json file name.
err := filepath.Walk(".", func(path string, info os.FileInfo, err error) error {
if strings.HasSuffix(info.Name(), ".json") {
@@ -475,6 +481,8 @@ func TestFuzzer(t *testing.T) {
}
func TestNetworkBandwidth(t *testing.T) {
+ // partitiontest.PartitionTest(t)
+ // Causes double partition, so commented out on purpose
// travis rans out of memory when we get a high nodes count.. so we'll skip it for now.
if testing.Short() {
t.Skip()