[
https://issues.apache.org/jira/browse/POLYGENE-237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15896486#comment-15896486
]
Georg Ragaller commented on POLYGENE-237:
-----------------------------------------
Should be fixed with commit f09636df18e6524a27de083da4c5158bae39cd80.
> Unit tests for entitystore-mongodb fail on Windows
> --------------------------------------------------
>
> Key: POLYGENE-237
> URL: https://issues.apache.org/jira/browse/POLYGENE-237
> Project: Polygene
> Issue Type: Bug
> Environment: Windows
> Reporter: Georg Ragaller
>
> The {{EmbedMongoMapEntityStoreTest}} fails on Windows with {{Invalid database
> name: 'polygene:test'}}. I guess that's because the DB is mapped to a
> directory with the same name and the {{:}} is an invalid path character in
> Windows.
> {code:title=Stacktrace}
> Caused by: com.mongodb.MongoCommandException: Command failed with error 73:
> 'Invalid database name: 'polygene:test'' on server localhost:35372. The full
> response is { "ok" : 0.0, "errmsg" : "Invalid database name:
> 'polygene:test'", "code" : 73 }
> at
> com.mongodb.connection.ProtocolHelper.getCommandFailureException(ProtocolHelper.java:115)
> at
> com.mongodb.connection.CommandProtocol.execute(CommandProtocol.java:114)
> at
> com.mongodb.connection.DefaultServer$DefaultServerProtocolExecutor.execute(DefaultServer.java:168)
> at
> com.mongodb.connection.DefaultServerConnection.executeProtocol(DefaultServerConnection.java:289)
> at
> com.mongodb.connection.DefaultServerConnection.command(DefaultServerConnection.java:176)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)