add comments for known issues

This commit is contained in:
fbarbu15 2023-10-09 14:52:40 +03:00
parent 95dbac3c57
commit b0d658c4a1
No known key found for this signature in database
GPG Key ID: D75221C8DEA22501
3 changed files with 4 additions and 2 deletions

View File

@ -153,6 +153,7 @@ describe("Waku Store, cursor", function () {
}
}
}
// Should return same as go-waku. Raised bug: https://github.com/waku-org/nwaku/issues/2117
expect(messagesAfterCursor.length).to.eql(0);
} catch (error) {
if (
@ -168,7 +169,7 @@ describe("Waku Store, cursor", function () {
}
});
// PubsubTopic is ignored in the cursor. Needs fixing so it throws an error if it doesn't match with Decoder
// PubsubTopic is ignored in the cursor: https://github.com/waku-org/js-waku/pull/1640
it.skip("Passing cursor with wrong pubSubTopic", async function () {
await sendMessages(nwaku, totalMsgs, TestContentTopic, DefaultPubSubTopic);
waku = await startAndConnectLightNode(nwaku);

View File

@ -80,6 +80,7 @@ describe("Waku Store, page size", function () {
});
});
// Possible issue here because pageSize differs across implementations
it("Default pageSize", async function () {
await sendMessages(nwaku, 20, TestContentTopic, DefaultPubSubTopic);
waku = await startAndConnectLightNode(nwaku);

View File

@ -31,7 +31,7 @@ describe("Waku Store, time filter", function () {
[-19000, -10, 10],
[-19000, 1, 4],
[-19000, -2, -1],
// [-19000, 0, 1000], // skipped because it fails on gowaku
// [-19000, 0, 1000], // skipped for now because it fails on gowaku which returns messages > startTime
[-19000, -1000, 0],
[19000, -10, 10], // message in the future
[-19000, 10, -10] // startTime is newer than endTime