diff --git a/compositions/cluster-k8s/gen-validators.toml b/compositions/cluster-k8s/gen-validators.toml index 627ef6bf..d33d0f83 100644 --- a/compositions/cluster-k8s/gen-validators.toml +++ b/compositions/cluster-k8s/gen-validators.toml @@ -11,6 +11,7 @@ disable_metrics = false [global.run.test_params] + validator = "80" persistent-peers = "10" [[groups]] diff --git a/compositions/local-docker/gen-validators.toml b/compositions/local-docker/gen-validators.toml index e2c9d12f..2a603151 100644 --- a/compositions/local-docker/gen-validators.toml +++ b/compositions/local-docker/gen-validators.toml @@ -11,6 +11,7 @@ disable_metrics = false [global.run.test_params] + validator = "3" persistent-peers = "3" [[groups]] diff --git a/manifest.toml b/manifest.toml index e94f8cd7..6cc6e595 100644 --- a/manifest.toml +++ b/manifest.toml @@ -20,6 +20,7 @@ enabled = true name = "init-val" instances = { min = 1, max = 100, default = 3 } [testcases.params] + validator = { type = "int", default = 3} persistent-peers = { type = "int", default = 3} [[testcases]] diff --git a/testkit/appkit/app.go b/testkit/appkit/app.go index 318a8986..1acd72b8 100644 --- a/testkit/appkit/app.go +++ b/testkit/appkit/app.go @@ -73,7 +73,7 @@ func (ak *AppKit) GetHomePath() string { } func (ak *AppKit) InitChain(moniker string, chainId string) (string, error) { - ak.AccountAddress = chainId + ak.ChainId = chainId return ak.execCmd([]string{"init", moniker, "--chain-id", chainId, "--home", ak.home}) } diff --git a/tests/app-sync/run_validator.go b/tests/app-sync/run_validator.go index c6fa35fd..3732ae6b 100644 --- a/tests/app-sync/run_validator.go +++ b/tests/app-sync/run_validator.go @@ -71,14 +71,14 @@ func RunValidator(runenv *runtime.RunEnv, initCtx *run.InitContext) error { runenv.RecordFailure(err) return err } - go func(i int) { - s, err := appkit.GetLatestsBlockSize(net.ParseIP("127.0.0.1")) - if err != nil { - runenv.RecordMessage("err in last size call, %s", err.Error()) - } - - runenv.RecordMessage("latest size on iteration %d of the block is - %d", i, s) - }(i) + // go func(i int) { + s, err := appkit.GetLatestsBlockSize(net.ParseIP("127.0.0.1")) + if err != nil { + runenv.RecordMessage("err in last size call, %s", err.Error()) + } + + runenv.RecordMessage("latest size on iteration %d of the block is - %d", i, s) + // }(i) } time.Sleep(30 * time.Second)