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:
Sasha 2025-04-11 18:30:28 +02:00 committed by GitHub
parent 3793e6f5c0
commit 163bea56c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 2 deletions

View File

@ -68,6 +68,15 @@ export async function runMultipleNodes(
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];
}

View File

@ -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}`;
for (let i = 0; i < 30; i++) {
@ -282,4 +283,4 @@ const runTests = (strictNodeCheck: boolean): void => {
});
};
[true].map(runTests);
[true, false].map(runTests);