You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Eric Zoerner (Jira)" <ji...@apache.org> on 2021/10/08 00:10:00 UTC

[jira] [Created] (GEODE-9699) ZUNIONSTORE returns 1 instead of 0 when running against non-existing key

Eric Zoerner created GEODE-9699:
-----------------------------------

             Summary: ZUNIONSTORE returns 1 instead of 0 when running against non-existing key
                 Key: GEODE-9699
                 URL: https://issues.apache.org/jira/browse/GEODE-9699
             Project: Geode
          Issue Type: Bug
          Components: redis
    Affects Versions: 1.15.0
            Reporter: Eric Zoerner


The following redis TCL test fails when running against Geode for Redis:


{code}
        # Geode fails with: Expected '1' to be equal to '0'
        test "ZUNIONSTORE against non-existing key doesn't set destination - $encoding" {
            r del "{slot}zseta"
            assert_equal 0 [r zunionstore "{slot}dst_key" 1 "{slot}zseta"]
            assert_equal 0 [r exists "{slot}dst_key"]
        }
{code}





--
This message was sent by Atlassian Jira
(v8.3.4#803005)