You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Andrei Sereda (JIRA)" <ji...@apache.org> on 2018/05/31 05:07:00 UTC
[jira] [Comment Edited] (CALCITE-2345) add tests using Fongo to
Mongo Adapter
[ https://issues.apache.org/jira/browse/CALCITE-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16496102#comment-16496102 ]
Andrei Sereda edited comment on CALCITE-2345 at 5/31/18 5:06 AM:
-----------------------------------------------------------------
If you enable system property [fongo.force.realMongo|https://github.com/fakemongo/fongo/blob/master/src/main/java/com/github/fakemongo/junit/FongoRule.java#L69] it will automatically connect to default mongo instance ({{localhost:27017}}).
Another question is how the database should be populated: same as IT (with {{zips.json}}) or manually.
was (Author: asereda):
If you enable system property [fongo.force.realMongo|https://github.com/fakemongo/fongo/blob/master/src/main/java/com/github/fakemongo/junit/FongoRule.java#L69] it will automatically connect to default mongo instance ({{localhost:27017}})
> 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: Julian Hyde
> 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)