Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Monilnarang
Copy link
Contributor

@Monilnarang Monilnarang commented Apr 13, 2025

  • I have registered the PR changes.

Ⅰ. Describe what this PR did

Summary:

  • Separated the test testMsgSerialize into 2 tests: testGlobalSessionMsgSerializationAndDeserialization and testBranchSessionMsgSerializationAndDeserialization.

Elaboration:

  • The test testMsgSerialize is long, complex and have 2 testing flows which are completely independent of each other.
  • In the PR I have separated those different testing logics into different tests making the new tests simplified & easier to understand and maintain. The new tests would also have increased debugging and issue finding capabilities.

Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Successful tests run

Ⅴ. Special notes for reviews

@slievrly slievrly added this to the 2.5.0 milestone Apr 23, 2025
@codecov
Copy link

codecov bot commented Apr 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.21%. Comparing base (c1d5d24) to head (8e8b285).
Report is 1 commits behind head on 2.x.

Additional details and impacted files
@@             Coverage Diff              @@
##                2.x    #7286      +/-   ##
============================================
- Coverage     54.22%   54.21%   -0.01%     
+ Complexity     7266     7265       -1     
============================================
  Files          1178     1178              
  Lines         41961    41961              
  Branches       4923     4923              
============================================
- Hits          22753    22751       -2     
- Misses        17056    17057       +1     
- Partials       2152     2153       +1     

see 1 file with indirect coverage changes

Impacted file tree graph

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@slievrly slievrly left a comment

Choose a reason for hiding this comment

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

LGTM

@slievrly slievrly merged commit 748abd5 into apache:2.x Apr 23, 2025
9 checks passed
slievrly pushed a commit to slievrly/fescar that referenced this pull request Oct 21, 2025
YvCeung pushed a commit to YvCeung/incubator-seata that referenced this pull request Dec 25, 2025
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