skip long running tests

This commit is contained in:
Jianrong 2021-08-26 21:46:45 +10:00
parent 454a4ab8dc
commit 8fc407f80d
2 changed files with 3 additions and 0 deletions

View file

@ -442,6 +442,7 @@ func TestStreamerDownstreamChunkDeliveryMsgExchange(t *testing.T) {
} }
func TestDeliveryFromNodes(t *testing.T) { func TestDeliveryFromNodes(t *testing.T) {
t.Skip()
testDeliveryFromNodes(t, 2, dataChunkCount, true) testDeliveryFromNodes(t, 2, dataChunkCount, true)
testDeliveryFromNodes(t, 2, dataChunkCount, false) testDeliveryFromNodes(t, 2, dataChunkCount, false)
testDeliveryFromNodes(t, 4, dataChunkCount, true) testDeliveryFromNodes(t, 4, dataChunkCount, true)

View file

@ -43,6 +43,7 @@ import (
const dataChunkCount = 200 const dataChunkCount = 200
func TestSyncerSimulation(t *testing.T) { func TestSyncerSimulation(t *testing.T) {
t.Skip()
testSyncBetweenNodes(t, 2, dataChunkCount, true, 1) testSyncBetweenNodes(t, 2, dataChunkCount, true, 1)
// This test uses much more memory when running with // This test uses much more memory when running with
// race detector. Allow it to finish successfully by // race detector. Allow it to finish successfully by
@ -231,6 +232,7 @@ func testSyncBetweenNodes(t *testing.T, nodes, chunkCount int, skipCheck bool, p
//TestSameVersionID just checks that if the version is not changed, //TestSameVersionID just checks that if the version is not changed,
//then streamer peers see each other //then streamer peers see each other
func TestSameVersionID(t *testing.T) { func TestSameVersionID(t *testing.T) {
t.Skip()
//test version ID //test version ID
v := uint(1) v := uint(1)
sim := simulation.New(map[string]simulation.ServiceFunc{ sim := simulation.New(map[string]simulation.ServiceFunc{