Skip to content

tests: Fix TestByzantinePrevoteEquivocation#6132

Merged
mergify[bot] merged 2 commits intomasterfrom
bez/6127-fix-TestByzantinePrevoteEquivocation
Feb 18, 2021
Merged

tests: Fix TestByzantinePrevoteEquivocation#6132
mergify[bot] merged 2 commits intomasterfrom
bez/6127-fix-TestByzantinePrevoteEquivocation

Conversation

@alexanderbez
Copy link
Contributor

Missed setting the buffer size on the subscription. Note, this doesn't really "fix" this test (a la ref: #5710).

However, I spent a good chunk of time looking at this test with many logs and I'm pretty sure this is mainly due to the fact that none of the nodes get the conflicting vote in time.

closes: #6127

@alexanderbez alexanderbez added T:test Type: Tests that need love S:automerge Automatically merge PR when requirements pass labels Feb 18, 2021
@codecov
Copy link

codecov bot commented Feb 18, 2021

Codecov Report

Merging #6132 (d0216e2) into master (b6be889) will increase coverage by 0.23%.
The diff coverage is 17.64%.

@@            Coverage Diff             @@
##           master    #6132      +/-   ##
==========================================
+ Coverage   60.65%   60.88%   +0.23%     
==========================================
  Files         276      276              
  Lines       25646    25649       +3     
==========================================
+ Hits        15555    15616      +61     
+ Misses       8469     8407      -62     
- Partials     1622     1626       +4     
Impacted Files Coverage Δ
abci/client/client.go 32.35% <12.50%> (-7.65%) ⬇️
abci/client/socket_client.go 39.69% <100.00%> (+0.53%) ⬆️
privval/signer_server.go 89.47% <0.00%> (-5.27%) ⬇️
privval/signer_endpoint.go 75.75% <0.00%> (-3.04%) ⬇️
p2p/peer.go 48.76% <0.00%> (-1.66%) ⬇️
mempool/reactor.go 70.71% <0.00%> (-1.43%) ⬇️
statesync/syncer.go 79.60% <0.00%> (-0.81%) ⬇️
p2p/switch.go 59.90% <0.00%> (-0.47%) ⬇️
proxy/multi_app_conn.go 48.05% <0.00%> (ø)
consensus/state.go 66.69% <0.00%> (+0.28%) ⬆️
... and 4 more

// different to the timestamp that the other nodes have. This tests to ensure
// that the evidence that finally gets proposed will have a valid timestamp.
lazyProposer := states[1]
// lazyProposer := states[1]
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// lazyProposer := states[1]

@mergify mergify bot merged commit bc3e3d1 into master Feb 18, 2021
@mergify mergify bot deleted the bez/6127-fix-TestByzantinePrevoteEquivocation branch February 18, 2021 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S:automerge Automatically merge PR when requirements pass T:test Type: Tests that need love

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test Failure: TestByzantinePrevoteEquivocation

2 participants