Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 15 commits into from Sep 27, 2021

Conversation

cmwaters
Copy link
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
Contributor

@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.

test/e2e/node/socket.toml Outdated Show resolved Hide resolved
test/e2e/app/app.go Show resolved Hide resolved
test/e2e/app/app.go Outdated Show resolved Hide resolved
test/e2e/app/app.go Outdated Show resolved Hide resolved
cmd/tendermint/commands/run_node.go Outdated Show resolved Hide resolved
@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.

None yet

3 participants