test/e2e: enable pprof server to help debugging failures (#6003)

This commit is contained in:
Anton Kaliaev
2021-02-11 11:43:19 +01:00
committed by Tess Rinearson
parent eb09376ba0
commit 33fb03fcc8
3 changed files with 30 additions and 3 deletions
+2
View File
@@ -165,6 +165,7 @@ services:
ports:
- 26656
- {{ if .ProxyPort }}{{ .ProxyPort }}:{{ end }}26657
- 6060
volumes:
- ./{{ .Name }}:/tendermint
networks:
@@ -220,6 +221,7 @@ func MakeConfig(node *e2e.Node) (*config.Config, error) {
cfg.Moniker = node.Name
cfg.ProxyApp = AppAddressTCP
cfg.RPC.ListenAddress = "tcp://0.0.0.0:26657"
cfg.RPC.PprofListenAddress = ":6060"
cfg.P2P.ExternalAddress = fmt.Sprintf("tcp://%v", node.AddressP2P(false))
cfg.P2P.AddrBookStrict = false
cfg.DBBackend = node.Database