Adjust zombienet test resources and logic (#4032)

One more try to make this test robust from a resource perspective.

---------

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Co-authored-by: Javier Viola <javier@parity.io>
This commit is contained in:
Andrei Sandu
2024-04-12 13:08:34 +03:00
committed by GitHub
parent 033484c3ba
commit 13ca339e4a
4 changed files with 20 additions and 11 deletions
@@ -1,6 +1,6 @@
async function run(nodeName, networkInfo, args) {
const { wsUri, userDefinedTypes } = networkInfo.nodesByName[nodeName];
const api = await zombie.connect(wsUri, userDefinedTypes);
const wsUri = networkInfo.nodesByName[nodeName].wsUri;
const api = await zombie.connect(wsUri);
let para = Number(args[0]);
let core = Number(args[1]);
@@ -33,8 +33,6 @@ async function run(nodeName, networkInfo, args) {
});
});
return 0;
}