bosnet / sebak

SEBAK, the next BOScoin Blockchain
https://devteam.blockchainos.org
GNU General Public License v3.0
44 stars 15 forks source link

TestCheckInflationBlockIncrease failed occasionally #795

Open kfangw opened 6 years ago

kfangw commented 6 years ago

https://circleci.com/gh/bosnet/sebak/15596?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

=== RUN   TestCheckInflationBlockIncrease
--- FAIL: TestCheckInflationBlockIncrease (2.20s)
    ballot_proposer_transaction_test.go:835: CalculateInflation(initial balance, inflation ratio): initial balance=10000000000000000000 inflation ratio=0.00000010000000000
    ballot_proposer_transaction_test.go:806: > check inflation: block-height: 1 previous: 0 inflation: 1000000000000
    ballot_proposer_transaction_test.go:822: < inflation raised: block-height: 1 previous(0)+inflation(1000000000000) == expected(1000000000000) == in db: 1000000000000
    ballot_proposer_transaction_test.go:806: > check inflation: block-height: 2 previous: 1000000000000 inflation: 1000000000000
    ballot_proposer_transaction_test.go:822: < inflation raised: block-height: 2 previous(1000000000000)+inflation(1000000000000) == expected(2000000000000) == in db: 2000000000000
    ballot_proposer_transaction_test.go:806: > check inflation: block-height: 3 previous: 2000000000000 inflation: 1000000000000
    <autogenerated>:1: 
            Error Trace:    ballot_proposer_transaction_test.go:817
                                        ballot_proposer_transaction_test.go:846
            Error:          Not equal: 
                            expected: 0x1
                            actual  : 0x2
            Test:           TestCheckInflationBlockIncrease
kfangw commented 6 years ago

https://circleci.com/gh/bosnet/sebak/17005?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

occurred again @spikeekips