Eric Dziewa opened 1 decade ago
|
|
I finished fixing this issue. I needed to implement only few things to add support for MongoDB but I needed to do a lot of refactoring. Source code is ready in repositories and future nightly build should contain this fixes. Fixes are in Tigase XMPP Server project and in Tigase MongoDB project. |
|
Andrzej, I've copied the most recent jars from jenkins: tigase-server.jar, and tigase-issue #1.0.0-SNAPSHOT.jar. Is it okay to drop those into the jars/ directory of b3669 or should I wait for a complete package... are there other dependencies?
|
|
I think that dropping new versions of Tigase XMPP Server and Tigase MongoDB into old build should work, but I already know that current nightly was broken due to issue in Tigase HTTP API. This exception which you received I suppose is due to |
|
Andrzej, Everything seems to be working fine now just the pubsub tests are failing consistently. Also Multi 6, and Privacy 1: http://graph.cluster-c.xmpp-test.net/5.3.0-SNAPSHOT-b3674/func/mongodb/functional-tests.html http://graph.cluster-c.xmpp-test.net/5.3.0-SNAPSHOT-b3674/lmem/mongodb/low-memory-tests.html |
|
I looked in logs and I have seen that PubSub tests failed due to construction of requests I used when implementing support for MongoDB as I used newest stable version of MongoDB and new features introduced in it. In tests MongoDB 2.0.4 was used while I was developing support using MongoDB 2.6.3. I suppose we can force usage of MongoDB at least in 2.6.3 version as it is stable now and we are adding support for MongoDB as a new feature to upcoming version. So I suppose we should rerun this tests using MongoDB 2.6.3. I will add a note on Tigase MongoDB project which states that to use it we require MongoDB at least in version 2.6.3 (my bad that I did not added this info before). Moreover I think we have issue with
while according to current code of Tigase XMPP Server %kobit - could you check if I'm right about this issue with Privacy tests? |
|
Andrzej, I upgraged mongodb to 2.6.4. That fixed the pubsub tests. Multi 6, and Privacy 1 are still failing. The URLs have been updated. |
|
Multi 6 and Privacy 1 are using Privacy plugin and this errors are caused by (I think) error in Privacy test. Artur, could you look at my previous comment about issue in Privacy test and could you comment on this? |
|
Wojciech, please review the issue with privacy lists. |
|
Artur Hefczyc wrote:
Those are the same tests run against other DBs and the tests pass just fine, see any results from http://build.tigase.org/nightlies/tests/, hence it seems issue is not related to Privacy Lists code or test run against it.
Actually it's not - it follows specs and name of the default list should be taken from After digging deeper it looks like there may be a problem with |
|
I've pushed one change to the Privacy class with additional check, however it's possible that there is still issue with MongoDB integration. |
|
That worked. All tests have completed successful. |
|
I changed implementation of |
Type |
Task
|
Priority |
Normal
|
Assignee | |
RedmineID |
2252
|
Blocking: Automated TTS tests on MongoDB