status-go/t
Dmitry Shulyak a5cec358a9 Post whisper message asynchronously in tests
I am not 100% percent sure what is happening but it seems that
newMessageFilter is async operation, result of this operation is assumed
to be used in callbacks. All other tests are doing at least 1 io operation
in between creating a filter and posting a message, and it must be enough
for newMessageFilter to complete.

Setting higher GOMAXPROCS allows Otto vm to execute received io requests
immediatly. While lower number of processes may result in events re-ordering.

https://github.com/ethereum/web3.js/blob/develop/lib/web3/methods/shh.js#L39-L41

I tested this change with GOMAXPROCS=1 and it passes consistently.
2018-03-02 19:43:08 +01:00
..
destructive Update codebase to leverage Whisper v6 (#703) 2018-03-02 10:25:30 +01:00
e2e Post whisper message asynchronously in tests 2018-03-02 19:43:08 +01:00
utils Update codebase to leverage Whisper v6 (#703) 2018-03-02 10:25:30 +01:00