Hi Ioan,
I've run a few tests but didn't see the ClassCastException.
e.g. Running from eclipse:
NonAuthenticatedStateTest : 100% OK
SelectTest :
org.apache.james.imap.tester.base.ProtocolSession$InvalidServerResponseException:
Location: /org/apache/james/imap/scripts/SelectUnseen.test:24
LastClientMsg: 10 SELECT selectappend
Expected: '\* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)'
Actual : '10 NO SELECT completed.'
I don't think there is a dependency/class incompatibility.
It's more on the scripts results.
I would track them one by one, trying to understand what the scripts are
doing (in src/main/resources/org/apache/james/imap/script) and
correcting. A fix in your code could solve many integration tests...
For the SelecTest for example, the stacktrace tells you there is an
issue on SelectUnseen.test:24 (line 24)
C: 10 SELECT selectappend
S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
The client send SELECT selctappend to the hbase mailbox, which answers
'NO SELECT completed', and it should be as stated in the script '\*
FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)'
Hopes this help.
On 16/08/11 00:18, Ioan Eugen Stan wrote:
Hello,
The integration tests are done. I have created a second repository for
them at [1]. You can get a working copy with the following command:
hg clone
https://stan.ieu...@code.google.com/a/apache-extras.org/p/hbase-mailbox-integration-test/
.
I have runt the tests and some pass and other don't. Short version:
Tests run: 291, Failures: 0, Errors: 216, Skipped: 0
Mostly due to Cast exceptions and the like. I will see what I can do
to solve them. Help is appreciated.
[1] http://code.google.com/a/apache-extras.org/p/hbase-mailbox-integration-test/
Regards,
--
Eric
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org