mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-05 23:33:08 +00:00
chore: skip flaky test due to nwaku bug (#2349)
* chore: skip flaky test due to nwaku bug * return full test cases for lightpush
This commit is contained in:
parent
3793e6f5c0
commit
163bea56c3
@ -68,6 +68,15 @@ export async function runMultipleNodes(
|
|||||||
|
|
||||||
await waitForConnections(numServiceNodes, waku);
|
await waitForConnections(numServiceNodes, waku);
|
||||||
|
|
||||||
|
for (let i = 0; i < serviceNodes.nodes.length; i++) {
|
||||||
|
const node = serviceNodes.nodes[i];
|
||||||
|
const peers = await node.peers();
|
||||||
|
|
||||||
|
if (peers.length < 1) {
|
||||||
|
throw new Error(`Expected at least 1 connection for nwaku.`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return [serviceNodes, waku];
|
return [serviceNodes, waku];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -65,7 +65,8 @@ const runTests = (strictNodeCheck: boolean): void => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it("Push 30 different messages", async function () {
|
// TODO: skiped till https://github.com/waku-org/nwaku/issues/3369 resolved
|
||||||
|
it.skip("Push 30 different messages", async function () {
|
||||||
const generateMessageText = (index: number): string => `M${index}`;
|
const generateMessageText = (index: number): string => `M${index}`;
|
||||||
|
|
||||||
for (let i = 0; i < 30; i++) {
|
for (let i = 0; i < 30; i++) {
|
||||||
@ -282,4 +283,4 @@ const runTests = (strictNodeCheck: boolean): void => {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
[true].map(runTests);
|
[true, false].map(runTests);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user