-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ownership check to E2EFilterTest (#1491)
Summary: Makes a shallow and a deep copy of every even numbered batch in the different tests. Checks that these remain =equal after receiving the odd-numbered batch. Does this for the first 12 batches of each test run so as not to increase test time. This effectively checks that when the reader hands out a second reference to a Buffer, this does not get overwritten if the Buffer is multiply referenced when getting the next batch. The same applies to reusing parts of the 'result' VectorPtr in getValues of the different reader classes. Fixes a bad reuse of a multiply referenced RowVector child of the top-level RowVector. Note that RowVector children of RowVectors must be initialized to at least an empty RowVector, while other children can be set to nullptr. Pull Request resolved: #1491 Reviewed By: mbasmanova Differential Revision: D35987608 Pulled By: oerling fbshipit-source-id: a68f488b24ee924d93edc92de204d3d0770c29c8
- Loading branch information
1 parent
84c0e8d
commit 798d421
Showing
4 changed files
with
120 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters