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

Use real RunningSummarizer in SummaryManager UT to test last summary #7762

Merged
merged 1 commit into from
Apr 7, 2022

Conversation

pleath
Copy link
Contributor

@pleath pleath commented Oct 7, 2021

Replacing the mock RunningSummarizer class in this UT with a real one, since RunningSummarizer is where the logic to emit a last summary on summarizer close is located. Also adding a test case involving immediate summary when the ops count is very high (> 10K). This test case is simple; more wrinkled ones will be added when a related bug is fixed.

@github-actions github-actions bot requested a review from vladsud October 7, 2021 18:01
@github-actions github-actions bot added the area: runtime Runtime related issues label Oct 7, 2021
@ghost ghost added the status: stale label Apr 6, 2022
@ghost
Copy link

ghost commented Apr 6, 2022

This issue has been automatically marked as stale because it has had no activity for 180 days. It will be closed if no further activity occurs within 8 days of this comment. Thank you for your contributions to Fluid Framework!

@vladsud vladsud requested a review from NicholasCouri April 6, 2022 03:02
@vladsud
Copy link
Contributor

vladsud commented Apr 6, 2022

@pleath, sorry, somehow I missed this PR. Is it still valid one to pursue?

@pleath
Copy link
Contributor Author

pleath commented Apr 6, 2022

No worries. I was trying to add some testing of the last-summary logic. I can update it and see if it still passes. :)

@pleath pleath force-pushed the user/pleath/ut-disconnect branch from ad3c834 to c9ee3f4 Compare April 7, 2022 00:28
@pleath pleath requested a review from a team as a code owner April 7, 2022 00:28
@github-actions github-actions bot added the base: main PRs targeted against main branch label Apr 7, 2022
Copy link
Contributor

@vladsud vladsud left a comment

Choose a reason for hiding this comment

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

I only briefly looked through it. :)

@pleath pleath merged commit 5019095 into main Apr 7, 2022
@pleath pleath deleted the user/pleath/ut-disconnect branch April 7, 2022 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: runtime Runtime related issues base: main PRs targeted against main branch status: stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add UT coverage for lastSummary successfully happening when main client disconnects due to nack (10K ops)
2 participants