Closed talkol closed 6 years ago
protocol version: 1869f is 99999 decimal and we do have tests running this, so i would actually bet it happens from a different test (TestCommitBlockReturnsErrorWhenProtocolVersionMismatches in commit_block_test.go)
the timeout is strange, as 4 would mean 80ms (4*20), and it ran for 100, i will review and increase the timeout, as it seems like a verification timeout issue - as you mentioned and we spoke, we need to make the flakiness identification process better on our machines
pr #184 possibly fixed this
This test is very stable locally on my machine and takes 10 ms
But see this CI run: https://circleci.com/gh/orbs-network/orbs-network-go/835
It fails with some very strange issues:
This seems strange: error 2018-09-07T21:03:52.392268Z protocol version mismatch service=block-storage expected=1 received=1869f
How could it get such a value for protocol version? Maybe it's the log from a different test?
If the protocol version is a red herring, the issue could be related to Eventually timeout. Try to increase the number 4 in this line
harness.verifyMocks(t, 4)
at the end of the test..