[ https://issues.apache.org/jira/browse/CALCITE-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16498685#comment-16498685 ]
Julian Hyde commented on CALCITE-2345: -------------------------------------- Let's not worry too much about performance. Suppose it takes say 10 seconds to populate the in-memory fake with 30,000 records; we can live with that. We can share a fake between multiple tests, so we only pay the 10 seconds once. Once we have the IT and Unit tests consolidated and passing, if there's still a performance problem we could consider downsizing the data set to say 100 records (and fix test results accordingly). I don't think foodmart is a good data set for testing mongo. We need some nested data to show off mongo's features. (And by the way, foodmart contains ~876,000 records, and a simple test can run in under 10s, so if fongo and hsqldb have comparable performance we're in good shape.) > add tests using Fongo to Mongo Adapter > -------------------------------------- > > Key: CALCITE-2345 > URL: https://issues.apache.org/jira/browse/CALCITE-2345 > Project: Calcite > Issue Type: Improvement > Reporter: Andrei Sereda > Assignee: Michael Mior > Priority: Major > > Better test coverage for unit tests using > [Fongo|https://github.com/fakemongo/fongo] which is in-memory implementation > of Mongo API. -- This message was sent by Atlassian JIRA (v7.6.3#76005)