mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-28 18:50:53 +00:00
alternator-test: fix misleading xfail message
The test test_update_expression_function_nesting() fails because DynamoDB don't allow an expression like list_append(list_append(:val1, :val2), :val3) but Alternator doesn't check for this (and supports this expression). The "xfail" message was outdated, suggesting that the test fails because the "SET" expression isn't supported - but it is. So replace the message by a more accurate one. Signed-off-by: Nadav Har'El <nyh@scylladb.com> Message-Id: <20190915104708.30471-1-nyh@scylladb.com>
This commit is contained in:
@@ -584,7 +584,7 @@ def test_update_expression_if_not_exists(test_table_s):
|
||||
# value may itself be a function call - ad infinitum. So expressions like
|
||||
# list_append(if_not_exists(a, :val1), :val2) are legal and so is deeper
|
||||
# nesting.
|
||||
@pytest.mark.xfail(reason="SET functions not yet implemented")
|
||||
@pytest.mark.xfail(reason="for unknown reason, DynamoDB does not allow nesting list_append")
|
||||
def test_update_expression_function_nesting(test_table_s):
|
||||
p = random_string()
|
||||
test_table_s.update_item(Key={'p': p},
|
||||
|
||||
Reference in New Issue
Block a user