Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

[NC-1524] Update get validators for block hash test to start from block 1 #352

Conversation

jframe
Copy link
Contributor

@jframe jframe commented Dec 3, 2018

PR description

This updates the Clique getSigners shouldBeAbleToGetValidatorsForBlockHash test to first wait for block 1 to be mined. This ensures the block numbers are consistent instead of assuming it will start from block 0. Same approach is done in the getValidatorsForBlockNumber test this test was missed unfortunately.

Also increased the block period to 10 as sometimes there are unexpected delays in starting nodes or processing blocks that affect the clique tests more if the block period is too short.

Fixed Issue(s)

@jframe jframe requested review from rain-on and Errorific December 5, 2018 04:28
… isn't adding any value and could make test more brittle
…1' of github.com:jframe/pantheon into feature/clique_at_validators_for_block_hash_start_from_1
@jframe jframe merged commit 3425b1a into PegaSysEng:master Dec 7, 2018
@jframe jframe deleted the feature/clique_at_validators_for_block_hash_start_from_1 branch December 7, 2018 02:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants