relab / hotstuff

MIT License
166 stars 52 forks source link

Latency simulation support #96

Closed hanish520 closed 1 year ago

hanish520 commented 1 year ago

This PR adds support for simulating latencies between replicas-replicas and clients-replicas.

codecov-commenter commented 1 year ago

Codecov Report

Merging #96 (33dc029) into master (dd19651) will increase coverage by 9.47%. The diff coverage is 91.04%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master      #96      +/-   ##
==========================================
+ Coverage   62.96%   72.43%   +9.47%     
==========================================
  Files          73       61      -12     
  Lines        7193     6168    -1025     
==========================================
- Hits         4529     4468      -61     
+ Misses       2366     1402     -964     
  Partials      298      298              
Flag Coverage Δ
unittests 72.43% <91.04%> (+9.47%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
backend/config.go 74.25% <ø> (ø)
hotstuff.go 100.00% <ø> (ø)
backend/options.go 73.68% <73.68%> (ø)
internal/orchestration/controller.go 64.35% <87.50%> (+0.27%) :arrow_up:
backend/server.go 68.93% <100.00%> (+4.90%) :arrow_up:
internal/orchestration/worker.go 65.55% <100.00%> (+0.12%) :arrow_up:
replica/replica.go 72.94% <100.00%> (+0.65%) :arrow_up:

... and 19 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more