Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: split 100 topics tests in old and new behaviour #1803

Merged
merged 3 commits into from
Jan 22, 2024

Conversation

fbarbu15
Copy link
Collaborator

@fbarbu15 fbarbu15 commented Jan 19, 2024

Split the Subscribe to 100 topics into tests for old and new functionality and run only relevant tests (based on comment)

@fbarbu15 fbarbu15 changed the title chore: split 100 topics tests in old and new behavioud chore: split 100 topics tests in old and new behaviour Jan 19, 2024
Copy link

github-actions bot commented Jan 19, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
Waku core 32.59 KB (0%) 652 ms (0%) 161 ms (+28.4% 🔺) 813 ms
Waku Simple Light Node 298.38 KB (0%) 6 s (0%) 328 ms (-6.62% 🔽) 6.3 s
ECIES encryption 31.97 KB (0%) 640 ms (0%) 131 ms (+58.1% 🔺) 770 ms
Symmetric encryption 31.96 KB (0%) 640 ms (0%) 211 ms (+146.88% 🔺) 850 ms
DNS discovery 106.72 KB (0%) 2.2 s (0%) 158 ms (-7.67% 🔽) 2.3 s
Privacy preserving protocols 129.44 KB (0%) 2.6 s (0%) 135 ms (+29.84% 🔺) 2.8 s
Light protocols 30.15 KB (0%) 603 ms (0%) 150 ms (+96.14% 🔺) 753 ms
History retrieval protocols 29.04 KB (0%) 581 ms (0%) 108 ms (+25.47% 🔺) 689 ms
Deterministic Message Hashing 5.92 KB (0%) 119 ms (0%) 16 ms (-61.85% 🔽) 135 ms

@fbarbu15 fbarbu15 marked this pull request as ready for review January 19, 2024 13:30
@fbarbu15 fbarbu15 requested a review from a team as a code owner January 19, 2024 13:30
@@ -220,11 +220,14 @@ describe("Waku Filter V2: Subscribe", function () {
});
});

it("Subscribe to 100 topics at once and receives messages", async function () {
let topicCount = 30;
it("Subscribe to 100 topics (new limit) at once and receives messages", async function () {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we make a todo to remove old tests?
Are there any other tests that might need to be changed/removed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added TODO
No, only those tests are affected afaik

Copy link
Collaborator

@weboko weboko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for follow up

@fbarbu15 fbarbu15 merged commit 3e7b95e into master Jan 22, 2024
9 of 11 checks passed
@fbarbu15 fbarbu15 deleted the chore/split-100-topics-tests branch January 22, 2024 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants