You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2019/07/10 03:42:00 UTC

[jira] [Commented] (CALCITE-3156) Replace fongo with mongo java server for test

    [ https://issues.apache.org/jira/browse/CALCITE-3156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881701#comment-16881701 ] 

Julian Hyde commented on CALCITE-3156:
--------------------------------------

The build now gives deprecation warnings. (I'm not sure that your change caused this, but it's likely.) Please fix.
{noformat}
[WARNING] mongodb/src/main/java/org/apache/calcite/adapter/mongodb/MongoSchemaFactory.java:[76,29] createMongoCRCredential(java.lang.String,java.lang.String,char[]) in com.mongodb.MongoCredential has been deprecated
[WARNING] mongodb/src/main/java/org/apache/calcite/adapter/mongodb/MongoSchema.java:[54,11] MongoClient(com.mongodb.ServerAddress,java.util.List<com.mongodb.MongoCredential>,com.mongodb.MongoClientOptions) in com.mongodb.MongoClient has been deprecated
[WARNING] mongodb/src/test/java/org/apache/calcite/adapter/mongodb/MongoAdapterTest.java:[97,18] count() in com.mongodb.client.MongoCollection has been deprecated
[WARNING] mongodb/src/test/java/org/apache/calcite/adapter/mongodb/MongoAdapterTest.java:[115,19] count() in com.mongodb.client.MongoCollection has been deprecated{noformat}


> Replace fongo with mongo java server for test
> ---------------------------------------------
>
>                 Key: CALCITE-3156
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3156
>             Project: Calcite
>          Issue Type: Improvement
>          Components: mongodb-adapter
>            Reporter: Andrei Sereda
>            Assignee: Andrei Sereda
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.21.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> [mongo java server|https://github.com/bwaldvogel/mongo-java-server] is a better alternative to [Fongo|https://github.com/fakemongo/fongo] for embedded java instance of mongo server.
> Currently all tests (including IT) are passing with mongo java server



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)