mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
whisper: test fix - wait for message delivery
This commit is contained in:
parent
8e6fe2c9cf
commit
0fec3e7f2e
1 changed files with 3 additions and 1 deletions
|
|
@ -323,7 +323,9 @@ func powReqExchange(t *testing.T) {
|
|||
|
||||
const pow float64 = 7777777.0
|
||||
nodes[0].shh.SetMinimumPoW(pow, true)
|
||||
time.Sleep(5 * time.Millisecond)
|
||||
|
||||
// wait until all the messages are delivered
|
||||
time.Sleep(64 * time.Millisecond)
|
||||
|
||||
cnt := 0
|
||||
for i, node := range nodes {
|
||||
|
|
|
|||
Loading…
Reference in a new issue