[hibernate-dev] OGM - Let's remove Fongo support

Gunnar Morling gunnar at hibernate.org
Thu Apr 27 11:51:59 EDT 2017


I don't mind removing it too much; but the idea behind it was no so
much our own testing but rather to let OGM users test their apps with
Fongo. I can see some value in that.

2017-04-27 17:46 GMT+02:00 Sanne Grinovero <sanne at hibernate.org>:
> +1 as I proposed the same thing a long time ago: if it's not the real
> thing we might as well mock all requests.
>
> On 27 April 2017 at 16:40, Guillaume Smet <guillaume.smet at gmail.com> wrote:
>> Hi,
>>
>> So, in OGM, for MongoDB, we also support running the tests with Fongo which
>> is an in-memory Java (more or less accurate) MongoDB implementation.
>>
>> It has a cost as Fongo behaves differently and we have to disable
>> tests/implement different tests without any real benefits IMHO:
>> - it's easy to run MongoDB embedded for testing: this is what we use by
>> default
>> - we leave in a Docker world so people might also spawn a containerized
>> MongoDB instance for testing
>>
>> When moving to the new MongoDB API, we have a couple more
>> differences/things not working with Fongo and I really don't see the point
>> of maintaining this. It adds an unnecessary burden to changes made to the
>> MongoDB datastore.
>>
>> If no one speaks against it, I'll remove it soon.
>>
>> --
>> Guillaume
>> _______________________________________________
>> hibernate-dev mailing list
>> hibernate-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev


More information about the hibernate-dev mailing list