Skip to content

Conversation

@DrakeLin
Copy link
Collaborator

@DrakeLin DrakeLin commented Nov 21, 2025

What changes are proposed in this pull request?

Following #1411, move tests over.

The previous tests didn't validate protocol, so we had some tests where protocol was 2/7 but writer features didn't exist. Since we construct and validate protocol in the test helper, changed the test to include a writer feature.

How was this change tested?

@codecov
Copy link

codecov bot commented Nov 21, 2025

Codecov Report

❌ Patch coverage is 98.70130% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 84.76%. Comparing base (0b30820) to head (ed0b358).
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
kernel/src/table_configuration.rs 98.70% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1517      +/-   ##
==========================================
+ Coverage   84.74%   84.76%   +0.01%     
==========================================
  Files         122      122              
  Lines       32938    33103     +165     
  Branches    32938    33103     +165     
==========================================
+ Hits        27914    28060     +146     
+ Misses       3674     3668       -6     
- Partials     1350     1375      +25     

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

@DrakeLin DrakeLin changed the title refactor: migrated protocol validation tests to migrated the protocol validation tests to kernel/src/table_configuration.rs. refactor: migrated protocol validation tests to table_configuration Nov 22, 2025
Comment on lines +1518 to +1523
let table_root = Url::try_from("file:///").unwrap();
let config = TableConfiguration::try_new(metadata, protocol, table_root, 0).unwrap();
assert_result_error_with_message(
config.ensure_write_supported(),
"rowTracking requires domainMetadata to be supported",
);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you add a case for RowTracking + Domain metadata to show that adding the requirement fixes it?

Copy link
Member

@nicklan nicklan left a comment

Choose a reason for hiding this comment

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

lgtm if nit addressed. thanks!

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.

3 participants