mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-12 19:02:12 +00:00
Add Scylla-specific variants of snapshot validation tests
Co-authored-by: mykaul <4655593+mykaul@users.noreply.github.com>
This commit is contained in:
@@ -304,6 +304,22 @@ def test_snapshot_keyspace_with_ktlist(nodetool, cassandra_only):
|
||||
"error processing arguments: when specifying the keyspace-table list for a snapshot, you should not specify keyspace(s)"])
|
||||
|
||||
|
||||
def test_snapshot_table_with_ktlist_scylla(nodetool, scylla_only):
|
||||
check_nodetool_fails_with(
|
||||
nodetool,
|
||||
("snapshot", "--table", "tbl1", "-kt", "ks1.tbl1"),
|
||||
{"expected_requests": []},
|
||||
["error processing arguments: when specifying the keyspace-table list for a snapshot, you should not specify table(s)"])
|
||||
|
||||
|
||||
def test_snapshot_keyspace_with_ktlist_scylla(nodetool, scylla_only):
|
||||
check_nodetool_fails_with(
|
||||
nodetool,
|
||||
("snapshot", "-kt", "ks1.tbl1", "ks1"),
|
||||
{"expected_requests": []},
|
||||
["error processing arguments: when specifying the keyspace-table list for a snapshot, you should not specify keyspace(s)"])
|
||||
|
||||
|
||||
def test_snapshot_keyspace_with_tables(nodetool, scylla_only):
|
||||
check_nodetool_fails_with(
|
||||
nodetool,
|
||||
|
||||
Reference in New Issue
Block a user