Hello, There are six tests that fail, all located in the FetchBodyStructure suite. I have isolated the first and put println's all over the code to find the source. If you look at the last lines, the differences in what the server sends back and what he should are that instead of en, en-US,en-CA, he sends back just en-CA. So I printed what I was reading from HBase via ChunkInputStream, and everything is ok (except for one extra byte at the end of the stream that I can't get rid of). I think the problem is with the server implementation of the body structure parser. It's strange that the other tests (JPA, JCR) pass.
In order to proper read the file: - client requests begin with: 'client request' - after a client request, follow the method trace. I also printed some information about the parameters to see what is going on. - after the server gets all the information from the store, he checks the responses. - server responses begin with 'server response', and the following line is what he expects to get. I also print the byte array buffers written/read from HBase with ChunkInput/Output. They begin with 'chunk read' and 'chunk write'. I use Bytes.toStringBinary() for that. I also appended the test file so it will be easier to follow. p.s. Norman was right, the last bugs are the hardest. -- Ioan Eugen Stan http://ieugen.blogspot.com/
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
