Skip to content

Commit

Permalink
restored test step
Browse files Browse the repository at this point in the history
  • Loading branch information
timbrinded committed Nov 7, 2023
1 parent cc83e95 commit f1a5995
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions test/suites/zombie/test_basic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,35 +109,5 @@ describeSuite({
},
});

it({
id: "T07",
title: "Pause/Resume a node",
timeout: 600000,
test: async function () {

// await context.pauseNode("alice");

await context.killNode("alice");
const status = await context.isUp("alice");

log(status);
expect(status).toBe(false)
// expect(await context.isUp("alith"), "Alith node is not running").toBe(true);
// const blockBefore = (await paraApi.rpc.chain.getBlock()).block.header.number.toNumber();
// await context.pauseNode("alith");
// log("waiting 20s and checking block production is paused");
// await timer(20000);
// const blockAfter = (await paraApi.rpc.chain.getBlock()).block.header.number.toNumber();
// expect(blockBefore).to.be.equal(blockAfter);
// expect(await context.isUp("alith"), "Alith node is not paused").toBe(false);

// await context.resumeNode("alith");
// await context.waitBlock(1, "parachain", "quantity");
// const blockAfterResume = (
// await paraApi.rpc.chain.getBlock()
// ).block.header.number.toNumber();
// expect(blockAfterResume).to.be.greaterThan(blockAfter);
},
});
},
});

0 comments on commit f1a5995

Please sign in to comment.