You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Henry Saputra (JIRA)" <ji...@apache.org> on 2013/12/18 08:47: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=13851487#comment-13851487 ]
Henry Saputra commented on GORA-66:
-----------------------------------
Hi Keith, I assigned this issue to you hopefully you have some cycles to help close this one.
> 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
> Assignee: 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 was sent by Atlassian JIRA
(v6.1.4#6159)