Closed vkuznet closed 3 years ago
@yuyiguo I think you did not commit comments as I don't see them here in GitHub.
@vkuznet Did you see it now?
No, I don't see any comments in github web interface.
I don't know what went wrong, but Let me put my comment here.
In function def testiAggParentDSTrio(self)
, you had something like:
{"l":29838,"pfid":653591317,"r":98}
{"l":26422,"pfid":653591317,"r":98}
Are the pfids db IDs? if so, the test will fail when using a different DB.
@yuyiguo now I can see your comment. So, the pfid is what ORACLE query generates and is referring to parent file id. Of course they change but the unit tests does not use ANY DBs and only checks the aggParentDSTrio
functionality which transforms one results set into another. As such I can put any numbers and test will work. If you want I can change the data and put some fake numbers, I only used output from APIs to test the logic.
That is fine. Any number should work as long as it does not retrieve from DB again.
@vkuznet Please check the comments on the code.