Skip to content

Commit

Permalink
chore: update for hop test
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-forbes committed Mar 25, 2024
1 parent d287231 commit bce5d07
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
22 changes: 11 additions & 11 deletions test/testground/compositions/unbounded/control.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,37 @@ author = "core-app"
[global]
plan = "core-app"
case = "entrypoint"
total_instances = 100
total_instances = 40
builder = "docker:generic"
runner = "cluster:k8s"
disable_metrics = false

[global.run.test_params]
chain_id = "no-latency-8"
timeout = "59m"
chain_id = "v1-total-3"
timeout = "20m"
halt_height = "2000"
latency = "0"
random_latency = "false"
bandwidth = "1Gb"
validators = "100"
validators = "40"
topology = "seed"
pex = "true"
timeout_propose = "120s"
timeout_commit = "1s"
timeout_commit = "10s"
per_peer_bandwidth = "5Mb"
blob_sequences = "5"
blob_sequences = "2"
blob_sizes = "99000"
blobs_per_sequence = "5"
blobs_per_sequence = "1"
inbound_peer_count = "40"
outbound_peer_count = "10"
gov_max_square_size = "1024"
max_block_bytes = "2000000"
max_block_bytes = "20000000"
mempool = "v1"
broadcast_txs = "true"
tracing_nodes = "2"
tracing_nodes = "1"
tracing_token = ""
tracing_url = ""
experiment = "unbounded"
experiment = "consistent-fill"

[[groups]]
id = "validators"
Expand All @@ -44,7 +44,7 @@ builder = "docker:generic"
memory = "12Gi"
cpu = "8"
[groups.instances]
count = 100
count = 40
percentage = 0.0
[groups.build_config]
build_base_image = "golang:1.21.6"
Expand Down
4 changes: 2 additions & 2 deletions test/testground/network/configurators.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@ func TracingConfigurator(runenv *runtime.RunEnv, tparams TracingParams) Configur
nodes[i].CmtConfig.Instrumentation.InfluxBatchSize = 200
nodes[i].CmtConfig.Instrumentation.InfluxURL = tparams.URL
nodes[i].CmtConfig.Instrumentation.InfluxToken = tparams.Token
nodes[i].CmtConfig.Instrumentation.InfluxTables = schema.RoundStateTable
nodes[i].CmtConfig.Instrumentation.InfluxTables = strings.Join([]string{schema.MempoolTxTable, schema.MempoolPeerStateTable, schema.MempoolRejectedTable, schema.RoundStateTable}, ",")
}

// Trace all data from these nodes, and keep track of which nodes are tracing.
tracingNodes := make(map[int]string)
for i := 0; i < tparams.Nodes; i++ {
nodes[i].CmtConfig.Instrumentation.InfluxTables = strings.Join(schema.AllTables(), ",")
nodes[i].CmtConfig.Instrumentation.InfluxTables = strings.Join([]string{schema.MempoolTxTable, schema.MempoolPeerStateTable, schema.MempoolRejectedTable, schema.RoundStateTable, schema.BlockTable}, ",")
tracingNodes[i] = nodes[i].PeerID
}

Expand Down
3 changes: 2 additions & 1 deletion test/testground/network/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func ParseTracingParams(runenv *runtime.RunEnv) TracingParams {
return TracingParams{
Nodes: runenv.IntParam(TracingNodesParam),
URL: "http://51.158.232.250:8086",
Token: "qT-Qiun-R0CCX3NyVnTPrAynSfoWKRt3zrL8C2PIJBoaaTEZEzOVpxPwsgp9zynFELcKP9Cc5zdItU67I_mcMg==",
Token: "SgmlSaqxiR6ZTmBhyR5E0C9Nf_x35AoxeLyn4NE5jYBlMFIPDHmNBE_levqq4UBnjfoJXXYYxkha7F3GUWki9w==",
}
}

Expand Down Expand Up @@ -174,6 +174,7 @@ func StandardCometConfig(params *Params) *tmconfig.Config {
cmtcfg.Consensus.TimeoutCommit = params.TimeoutCommit
cmtcfg.Consensus.TimeoutPropose = params.TimeoutPropose
cmtcfg.TxIndex.Indexer = "kv"
cmtcfg.Mempool.Broadcast = params.BroadcastTxs
cmtcfg.Mempool.Version = params.Mempool
cmtcfg.Mempool.MaxTxsBytes = 1_000_000_000
cmtcfg.Mempool.MaxTxBytes = 1_000_000_000
Expand Down

0 comments on commit bce5d07

Please sign in to comment.