Skip to content

Remove dependency on Tendermint Core - #168

Merged
thanethomson merged 14 commits into
mainfrom
thane/rm-tendermint-dep
Jan 19, 2023
Merged

thanethomson merged 14 commits into
mainfrom
thane/rm-tendermint-dep

Conversation

@thanethomson

@thanethomson thanethomson commented Jan 18, 2023 •

Copy link
Copy Markdown
Contributor

This PR entirely removes tm-load-test's dependency on the Tendermint Core Go package. This is temporary while Informal Systems readies its fork of Tendermint Core.

As such, some rudimentary functionality and types had to be replicated in the loadtest package. This will most likely be removed in future.

Instead of manually constructing a Tendermint node in an integration test, this now sets up a 4-node localnet and executes a standalone and coordinated load test against this 4-node network, while still preserving the coverage.

@thanethomson thanethomson added the T:dependencies Dependency updates label Jan 18, 2023
@codecov-commenter

codecov-commenter commented Jan 18, 2023 •

Copy link
Copy Markdown

Codecov Report

Merging #168 (b4d90b9) into main (a9c21a5) will increase coverage by 8.13%.
The diff coverage is 57.89%.

@@            Coverage Diff             @@
##             main     #168      +/-   ##
==========================================
+ Coverage   52.70%   60.84%   +8.13%     
==========================================
  Files          16       18       +2     
  Lines        1958     2056      +98     
==========================================
+ Hits         1032     1251     +219     
+ Misses        825      678     -147     
- Partials      101      127      +26     
Impacted Files Coverage Δ
pkg/loadtest/rpc.go 46.15% <46.15%> (ø)
pkg/loadtest/rand.go 50.00% <50.00%> (ø)
pkg/loadtest/client_kvstore.go 66.66% <100.00%> (ø)
pkg/loadtest/coordinator.go 72.47% <100.00%> (+2.52%) ⬆️
pkg/loadtest/loadtest.go 59.57% <100.00%> (+23.40%) ⬆️
pkg/loadtest/tm_network_info.go 77.22% <100.00%> (+77.22%) ⬆️
pkg/loadtest/transactor.go 61.75% <100.00%> (ø)
pkg/loadtest/worker.go 58.82% <0.00%> (+4.97%) ⬆️
... and 1 more

Comment thread test/docker-compose.yml Resolved
Comment thread test/integration-test.sh Resolved
@thanethomson
thanethomson merged commit 4edcd62 into main Jan 19, 2023
@thanethomson
thanethomson deleted the thane/rm-tendermint-dep branch January 19, 2023 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T:dependencies Dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants