Skip to content

Fix equality hash code contracts#17890

Open
Caideyipi wants to merge 3 commits into
masterfrom
fix-equals-hashcode-contract-master
Open

Fix equality hash code contracts#17890
Caideyipi wants to merge 3 commits into
masterfrom
fix-equals-hashcode-contract-master

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Summary: Fix several equals/hashCode contract mismatches in Binary, MetricInfo, NodeStatistics, User, pipe plugin/task meta, and trigger metadata. Add focused regression tests. Tests: BinaryTest, MetricInfoTest, node-commons targeted tests, and NodeStatisticsTest passed locally.

@codecov

codecov Bot commented Jun 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 41.70%. Comparing base (2e099a6) to head (4722bdb).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #17890      +/-   ##
============================================
+ Coverage     41.68%   41.70%   +0.02%     
- Complexity      318      331      +13     
============================================
  Files          5296     5296              
  Lines        371819   371807      -12     
  Branches      48106    48104       -2     
============================================
+ Hits         154975   155068      +93     
+ Misses       216844   216739     -105     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

…-contract-master

# Conflicts:
#	iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/agent/task/meta/PipeTemporaryMetaInAgent.java
@sonarqubecloud

sonarqubecloud Bot commented Jul 3, 2026

Copy link
Copy Markdown

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.

1 participant