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

[TEST ONLY] Fixed Test_JetStreamSubscribeIdleHeartbeat #764

Merged
merged 3 commits into from
Jun 13, 2024

Conversation

levb
Copy link
Collaborator

@levb levb commented Jun 13, 2024

https://github.com/nats-io/nats-server/pull/5482/files#diff-c6e9a3ce0d55948f2e7ea75a4de309986654f2ab11e0f8750625b88b28bd9ebfR2833-R2838 broke this test. The test was faking a JetStream-delivered message, resulting in inaccurate ACKs being sent to the server. Disabled auto-ACKs for the relevant messages to avoid messing up the server state, and the test is now passing.

@levb levb requested review from mtmk and kozlovic June 13, 2024 06:26
Copy link

codecov bot commented Jun 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.70%. Comparing base (1cb8d8c) to head (92b9c7d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #764      +/-   ##
==========================================
+ Coverage   68.68%   68.70%   +0.01%     
==========================================
  Files          39       39              
  Lines       15186    15186              
  Branches     3139     3139              
==========================================
+ Hits        10431    10434       +3     
+ Misses       1702     1699       -3     
  Partials     3053     3053              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

test/test.c Show resolved Hide resolved
Copy link
Contributor

@mtmk mtmk left a comment

Choose a reason for hiding this comment

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

LGTM

@levb levb merged commit d98acf0 into main Jun 13, 2024
15 checks passed
@levb levb deleted the lev-fix-JetStreamSubscribeIdleHeartbeat branch June 13, 2024 15:25
github-actions bot pushed a commit that referenced this pull request Jun 13, 2024
levb added a commit that referenced this pull request Oct 1, 2024
* [TEST ONLY] Fixed Test_JetStreamSubscribeIdleHeartbeat

* Nit: removed an irrelevant format change

* PR feedback: typo
@levb levb removed the cherry-pick label Oct 1, 2024
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.

2 participants