You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/07/01 07:07:13 UTC
[jira] [Commented] (GORA-66) testDeleteByQueryFields seems
incorrect
[ https://issues.apache.org/jira/browse/GORA-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13696556#comment-13696556 ]
Hudson commented on GORA-66:
----------------------------
Integrated in goraOracle #6 (See [https://builds.apache.org/job/goraOracle/6/])
commit to address GORA-66 and update to CHANGES.txt. Thank you Keith for the patch (Revision f355e0141993c41a56d2a395b31b5e3668ab9b0d)
GORA-65 GORA-66 disabled testDeleteByQueryFields for accumulo (Revision 126259baaab72a8465737dd7ed632588389455f8)
Result = FAILURE
lewismc :
Files :
* gora-core/src/test/java/org/apache/gora/store/DataStoreTestUtil.java
* CHANGES.txt
kturner :
Files :
* gora-accumulo/src/test/java/org/apache/gora/accumulo/store/AccumuloStoreTest.java
> testDeleteByQueryFields seems incorrect
> ---------------------------------------
>
> Key: GORA-66
> URL: https://issues.apache.org/jira/browse/GORA-66
> Project: Apache Gora
> Issue Type: Bug
> Affects Versions: 0.2
> Reporter: Keith Turner
> Fix For: 0.4
>
> Attachments: GORA-66-1.patch
>
>
> While writing the Accumulo backend I have been trying to run some of the existing test against it. It seems that the test DataStoreTestUtil.testDeleteByQueryFields() has two problems.
> * The test does not flush the store after calling deleteByQuery(). This is needed for accumulo since deletes are just inserts and must be flushed.
> * The test expects the last key in a range that was deleted to be present. As far as I can tell the end key in a query should be inclusive, but the test treats as exclusive.
> I will submit a patch.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira