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

Bulk Migration Widerow Integration Tests #2272

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

akashthawaitcc
Copy link
Contributor

@akashthawaitcc akashthawaitcc commented Mar 25, 2025

Integration tests includes:

  • Columns per table: 1,017(MySQL/CloudSQL limitations)
  • Size of a STRING cell: 2,621,440 Unicode characters
  • Total size of a table key - 3 KB (MySQL Limitations)
  • Table interleaving depth - 7
  • Number of columns in a table key: 16

@akashthawaitcc akashthawaitcc requested a review from a team as a code owner March 25, 2025 20:30
@asthamohta
Copy link
Contributor

Failure Tests are absent

@akashthawaitcc
Copy link
Contributor Author

Failure Tests are absent

The source database has lower limits compared to Spanner, and tests to exceed this limit will not be useful.

Copy link

codecov bot commented Apr 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.63%. Comparing base (42c951e) to head (f94f8b6).
Report is 19 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2272      +/-   ##
============================================
+ Coverage     48.97%   54.63%   +5.65%     
+ Complexity     4515     1792    -2723     
============================================
  Files           911      436     -475     
  Lines         55232    24211   -31021     
  Branches       5892     2480    -3412     
============================================
- Hits          27051    13228   -13823     
+ Misses        26263    10186   -16077     
+ Partials       1918      797    -1121     
Components Coverage Δ
spanner-templates 71.65% <ø> (+1.58%) ⬆️
spanner-import-export ∅ <ø> (∅)
spanner-live-forward-migration 78.42% <ø> (ø)
spanner-live-reverse-replication 80.40% <ø> (+0.09%) ⬆️
spanner-bulk-migration 87.77% <ø> (-0.89%) ⬇️

see 522 files with indirect coverage changes

🚀 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.

asthamohta
asthamohta previously approved these changes Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants