tests: add multi-column filtering check

Multi-column restrictions filtering is not supported yet,
so a simple case to ensure that is added.
This commit is contained in:
Piotr Sarna
2018-10-29 12:18:52 +01:00
parent 0013929782
commit ae0ffa6575

View File

@@ -3086,7 +3086,8 @@ SEASTAR_TEST_CASE(test_allow_filtering_multiple_regular) {
msg = e.execute_prepared(prepared_id, raw_values).get0();
assert_that(msg).is_rows().with_size(0);
// TODO(sarna): Remove once multi-column restrictions are supported (#3574)
BOOST_CHECK_THROW(e.execute_cql("SELECT * FROM t WHERE (b) = (3)").get(), exceptions::invalid_request_exception);
});
}