diff --git a/test/integration/branches_revert_memberships.js b/test/integration/branches_revert_memberships.js index 3b85b126fe93d45568ea83c5476e13456e3c5c78..35479468077a5d325d0b67825569f710ebc887c2 100644 --- a/test/integration/branches_revert_memberships.js +++ b/test/integration/branches_revert_memberships.js @@ -94,7 +94,7 @@ describe("Revert memberships", function() { it('should exist a leaver', () => co(function*() { yield i3.leave(); - yield s1.commit({ time: now + 100 }); + yield s1.commit({ time: now + 80 }); yield s1.expect('/blockchain/current', (res) => { // (res.medianTime - now).should.equal(27); res.should.have.property('membersCount').equal(3); diff --git a/test/integration/wotb.js b/test/integration/wotb.js index dba6cd0f111a35b80687d14a461ada73cc53877d..4aa0e4f599d126907996d4f7c4593f0ae4e246b6 100644 --- a/test/integration/wotb.js +++ b/test/integration/wotb.js @@ -278,14 +278,14 @@ describe("WOTB module", function() { it('third & fourth commits: toc should have joined', function() { return co(function *() { yield commit(s3)({ - time: now + 2800 + time: now + 2400 }); // MedianTime is now +500 for next certs yield toc3.createIdentity(); yield toc3.join(); yield tic3.cert(toc3); yield commit(s3)({ - time: now + 5000 + time: now + 4000 }); // MedianTime is now +1000 for next certs /** @@ -307,7 +307,7 @@ describe("WOTB module", function() { return co(function *() { yield toc3.cert(tic3); yield commit(s3)({ - time: now + 5000 + time: now + 4000 }); /** * cat tic <==> toc @@ -327,7 +327,7 @@ describe("WOTB module", function() { it('sixth commit: cat is gone with its certs', function() { return co(function *() { yield commit(s3)({ - time: now + 5000 + time: now + 2500 }); /** * tic <-- toc