From 3a604a7638218a8bd9a55dfd8c8752a971a7e255 Mon Sep 17 00:00:00 2001 From: librelois <elois@ifee.fr> Date: Tue, 28 Nov 2017 17:45:19 +0100 Subject: [PATCH] [fix] integration test ws2p_heads --- test/integration/ws2p_heads.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/ws2p_heads.ts b/test/integration/ws2p_heads.ts index 7f0e78e50..7d20af4b2 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) -- GitLab