Skip to content

[RDF] Extend three RDF tests #19562

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

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

hageboeck
Copy link
Member

@hageboeck hageboeck commented Aug 7, 2025

During work on snapshot with variations, these three snapshot tests were refined slightly to make the failures more readable or to slightly extend coverage.

Update:

  • Add a test for carrying Define across input file boundaries during Snapshot
  • Prevent searching of input branches when a column gets redefined

With a precompiled snapshot, the code that was used to test jitted vs
templated is now identical, so it can be removed.
@hageboeck hageboeck self-assigned this Aug 7, 2025
Copy link
Member

@vepadulano vepadulano left a comment

Choose a reason for hiding this comment

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

Thanks! Minor suggestions

- Make the array longer instead of shorter.
- Fill the array with changing values.
- Add a static_assert to ensure that the array size really changes.
- Provide a multi-threaded version of the test.
Instead of testing in a for loop, (which possibly prints 10k failures),
use std::all_of to make a test output more readable.
Furthermore, test the size of the 3rd collection, which maybe just got
forgotten.
When columns got redefined, snapshot was trying to still find input
columns for the outputs. That should not be the case since none of the
properties of the input branch need to be transferred.
@hageboeck hageboeck force-pushed the snapshot_vary_prologue branch from 7a9d8c0 to 155dcdb Compare August 7, 2025 09:33
@hageboeck hageboeck requested a review from vepadulano August 7, 2025 09:33
Copy link
Member

@vepadulano vepadulano left a comment

Choose a reason for hiding this comment

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

LGTM thanks! Let's wait for the CI to be green before merging.

Copy link

github-actions bot commented Aug 7, 2025

Test Results

    21 files      21 suites   3d 8h 48m 51s ⏱️
 3 250 tests  3 246 ✅ 0 💤 4 ❌
66 528 runs  66 523 ✅ 0 💤 5 ❌

For more details on these failures, see this check.

Results for commit 1a82395.

♻️ This comment has been updated with latest results.

The code for updating branch addresses of TBranchElement instances
was triggered only in the context of a Redefine. Here, a test with
a Define is added to increase the coverage in snapshot with multiple
input files.
@hageboeck hageboeck force-pushed the snapshot_vary_prologue branch from fe05c22 to 1a82395 Compare August 8, 2025 07:03
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