Skip to content

e2e: allow running of single node using the e2e app#6982

Merged
cmwaters merged 15 commits intomasterfrom
callum/add-e2e-test-app
Sep 27, 2021
Merged

e2e: allow running of single node using the e2e app#6982
cmwaters merged 15 commits intomasterfrom
callum/add-e2e-test-app

Conversation

@cmwaters
Copy link
Copy Markdown
Contributor

This PR allows for the e2e app to be used outside of the e2e harness. This could be useful for larger, geographically-dispersed, and long-living testnets.

Running the e2e app comes with the following options:

Built-in

make node
tendermint init validator
TMHOME=$HOME/.tendermint ./build/node ./node/built-in.toml

To make things simpler the e2e application can also be run in the tendermint binary by running

tendermint start --proxy-app test

Socket

make node
tendermint init validator
tendermint start
./build/node ./node.socket.toml

Part of my reasoning for this change is to have the e2e app potentially replace the persistent kvstore (and perhaps kvstore).

Copy link
Copy Markdown

@creachadair creachadair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this idea. I have a few suggestions, but no real concerns.

Comment thread test/e2e/node/socket.toml Outdated
Comment thread test/e2e/app/app.go
Comment thread test/e2e/app/app.go Outdated
Comment thread test/e2e/app/app.go Outdated
Comment thread cmd/tendermint/commands/run_node.go Outdated
@cmwaters cmwaters merged commit 60a6c6f into master Sep 27, 2021
@cmwaters cmwaters deleted the callum/add-e2e-test-app branch September 27, 2021 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants