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

Ensure heartbeat details aren't cleared #2460

Merged
merged 1 commit into from
Mar 26, 2025

Conversation

Quinn-With-Two-Ns
Copy link
Contributor

closes #2459

@Quinn-With-Two-Ns Quinn-With-Two-Ns requested a review from a team as a code owner March 26, 2025 16:20
Comment on lines +65 to +68
assertEquals(
"heartbeat details",
DefaultDataConverter.STANDARD_INSTANCE.fromPayloads(
0, activityHeartbeats.poll(), String.class, String.class));
Copy link
Member

Choose a reason for hiding this comment

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

I assume this is the assertion that would have failed without the change because it'd still have 2 in the queue, but even the second would not be present due to overwrite (just kinda proving I read it and understand it heh)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes this fails without the test server change

@Quinn-With-Two-Ns Quinn-With-Two-Ns merged commit ad4a426 into temporalio:master Mar 26, 2025
8 checks passed
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.

Test server can overwrite last heartbeat details when not on fail request
2 participants