diff --git a/test/integration/ws2p_heads.ts b/test/integration/ws2p_heads.ts index 7f0e78e50fa47b3e4fa08c96f9eac99718480356..7d20af4b2e0ae9acd4e99620a6a753d524230351 100644 --- a/test/integration/ws2p_heads.ts +++ b/test/integration/ws2p_heads.ts @@ -86,7 +86,7 @@ describe("WS2P heads propagation", function() { b3 = s1.commit({ time: now }) await Promise.all([ s2.waitToHaveBlock(3), - s2.waitForHeads(1) + s2.waitForHeads(2) // head v2 + head v1 ]) await s1.expect('/network/ws2p/info', (res:any) => { assert.equal(res.peers.level1, 0)