Skip to content

Conversation

@suddendust
Copy link
Contributor

Description

This PR adds tests for write methods in Collection.java for FlatPostgresCollection. Most of these tests are disabled since we don't have the corresponding implementation of the test method in FlatPostgresCollection. The idea is to setup the stage for implementing these methods.

Testing

  • Added integration tests.

Checklist:

  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been merged and published in downstream modules

@codecov
Copy link

codecov bot commented Dec 18, 2025

Codecov Report

❌ Patch coverage is 85.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.48%. Comparing base (78dc7c1) to head (f70e3a2).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...documentstore/postgres/FlatPostgresCollection.java 85.00% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #260      +/-   ##
============================================
+ Coverage     80.46%   80.48%   +0.01%     
  Complexity     1330     1330              
============================================
  Files           231      231              
  Lines          6000     6020      +20     
  Branches        537      537              
============================================
+ Hits           4828     4845      +17     
- Misses          805      808       +3     
  Partials        367      367              
Flag Coverage Δ
integration 80.48% <85.00%> (+0.01%) ⬆️
unit 58.17% <0.00%> (-0.20%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.

@suresh-prakash suresh-prakash merged commit 4e8e31c into hypertrace:main Dec 18, 2025
6 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.

2 participants