diff --git a/swarm/network/stream/snapshot_retrieval_test.go b/swarm/network/stream/snapshot_retrieval_test.go index 35be546c80..2fdf8e9e37 100644 --- a/swarm/network/stream/snapshot_retrieval_test.go +++ b/swarm/network/stream/snapshot_retrieval_test.go @@ -53,7 +53,7 @@ func TestFileRetrieval(t *testing.T) { nodeCount = []int{16} if *longrunning { - nodeCount = append(nodeCount, 32, 64, 128) + nodeCount = append(nodeCount, 32, 64) } else if testutil.RaceEnabled { nodeCount = []int{4} } @@ -86,7 +86,7 @@ func TestRetrieval(t *testing.T) { chnkCnt := []int{32} if *longrunning { - nodeCnt = []int{16, 32, 128} + nodeCnt = []int{16, 32, 64} chnkCnt = []int{4, 32, 256} } else if testutil.RaceEnabled { nodeCnt = []int{4} @@ -115,7 +115,7 @@ var retrievalSimServiceMap = map[string]simulation.ServiceFunc{ syncUpdateDelay := 1 * time.Second if *longrunning { - syncUpdateDelay = 5 * time.Second + syncUpdateDelay = 3 * time.Second } r := NewRegistry(addr.ID(), delivery, netStore, state.NewInmemoryStore(), &RegistryOptions{ diff --git a/swarm/network/stream/snapshot_sync_test.go b/swarm/network/stream/snapshot_sync_test.go index 2766d4ddab..9737ec0a54 100644 --- a/swarm/network/stream/snapshot_sync_test.go +++ b/swarm/network/stream/snapshot_sync_test.go @@ -95,7 +95,7 @@ func TestSyncingViaGlobalSync(t *testing.T) { //run more test combinations if *longrunning { chunkCounts = []int{64, 128} - nodeCounts = []int{64, 128} + nodeCounts = []int{32, 64} } for _, chunkCount := range chunkCounts {