Skip to content

Commit

Permalink
Fix test_replicated_merge_tree_encryption_codec
Browse files Browse the repository at this point in the history
  • Loading branch information
rschu1ze committed Mar 20, 2024
1 parent e06a9c3 commit ee588b6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ def test_different_keys():
# After "SYSTEM SYNC REPLICA" we expect node1 and node2 here both having a part for (1, 'str1') encrypted with "key_a",
# and a part for (2, 'str2') encrypted with "key_b".
# So the command "SELECT * from tbl" must fail on both nodes because each node has only one encryption key.
assert "BAD_DECRYPT" in node1.query_and_get_error("SELECT * FROM tbl")
assert "BAD_DECRYPT" in node2.query_and_get_error("SELECT * FROM tbl")
assert "OPENSSL_ERROR" in node1.query_and_get_error("SELECT * FROM tbl")
assert "OPENSSL_ERROR" in node2.query_and_get_error("SELECT * FROM tbl")

# Hang?
# optimize_table()
Expand Down

0 comments on commit ee588b6

Please sign in to comment.