status-go/t/e2e/whisper
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
..
mailservice_test.go Enable gometalinter on tests and fix static analysis issues #631 (#644) 2018-02-12 13:16:06 +02:00
whisper_jail_test.go Post whisper message asynchronously in tests 2018-03-02 19:43:08 +01:00
whisper_mailbox_test.go Update codebase to leverage Whisper v6 (#703) 2018-03-02 10:25:30 +01:00
whisper_test.go Update codebase to leverage Whisper v6 (#703) 2018-03-02 10:25:30 +01:00