From 79c1b5f8a636aacda1d93d1da9020ea9937eeb53 Mon Sep 17 00:00:00 2001 From: Yang Hau Date: Fri, 8 Sep 2023 15:33:20 +0200 Subject: [PATCH] wip --- .../cluster/tests/advanced_inccounter_test.go | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/tools/cluster/tests/advanced_inccounter_test.go b/tools/cluster/tests/advanced_inccounter_test.go index 87a5bf8127..dbf1dac0a4 100644 --- a/tools/cluster/tests/advanced_inccounter_test.go +++ b/tools/cluster/tests/advanced_inccounter_test.go @@ -17,25 +17,25 @@ import ( "github.com/iotaledger/wasp/packages/vm/core/accounts" ) -func TestAccessNodesOnLedger(t *testing.T) { - if testing.Short() { - t.SkipNow() - } - t.Run("cluster=10, N=4, req=100", func(t *testing.T) { - const numRequests = 100 - const numValidatorNodes = 4 - const clusterSize = 10 - testAccessNodesOnLedger(t, numRequests, numValidatorNodes, clusterSize) - }) - - t.Run("cluster=15, N=6, req=200", func(t *testing.T) { - testutil.RunHeavy(t) - const numRequests = 200 - const numValidatorNodes = 6 - const clusterSize = 15 - testAccessNodesOnLedger(t, numRequests, numValidatorNodes, clusterSize) - }) -} +// func TestAccessNodesOnLedger(t *testing.T) { +// if testing.Short() { +// t.SkipNow() +// } +// t.Run("cluster=10, N=4, req=100", func(t *testing.T) { +// const numRequests = 100 +// const numValidatorNodes = 4 +// const clusterSize = 10 +// testAccessNodesOnLedger(t, numRequests, numValidatorNodes, clusterSize) +// }) + +// t.Run("cluster=15, N=6, req=200", func(t *testing.T) { +// testutil.RunHeavy(t) +// const numRequests = 200 +// const numValidatorNodes = 6 +// const clusterSize = 15 +// testAccessNodesOnLedger(t, numRequests, numValidatorNodes, clusterSize) +// }) +// } func testAccessNodesOnLedger(t *testing.T, numRequests, numValidatorNodes, clusterSize int) { cmt := util.MakeRange(0, numValidatorNodes)