[ 
https://issues.apache.org/jira/browse/GEODE-9699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Zoerner updated GEODE-9699:
--------------------------------
    Description: 
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}

Reënable this test as part of this fix.


  was:
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}




> 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
>            Priority: Major
>              Labels: needsTriage
>
> 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}
> Reënable this test as part of this fix.



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

Reply via email to