-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[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
base: master
Are you sure you want to change the base?
[RDF] Extend three RDF tests #19562
Conversation
With a precompiled snapshot, the code that was used to test jitted vs templated is now identical, so it can be removed.
There was a problem hiding this 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.
7a9d8c0
to
155dcdb
Compare
There was a problem hiding this 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.
Test Results 21 files 21 suites 3d 8h 48m 51s ⏱️ 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.
fe05c22
to
1a82395
Compare
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: