Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
howjmay committed Sep 8, 2023
1 parent 36776a0 commit 79c1b5f
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions tools/cluster/tests/advanced_inccounter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 79c1b5f

Please sign in to comment.