diff --git a/tests/cql_query_test.cc b/tests/cql_query_test.cc index edb47a3d33..3bc2003c70 100644 --- a/tests/cql_query_test.cc +++ b/tests/cql_query_test.cc @@ -1443,6 +1443,10 @@ SEASTAR_TEST_CASE(test_table_compression) { assert(!f.failed()); e.require_table_exists("ks", "tb4"); BOOST_REQUIRE(e.local_db().find_schema("ks", "tb4")->get_compressor_params().get_compressor() == compressor::deflate); + return e.execute_cql("create table tb6 (foo text PRIMARY KEY, bar text);"); + }).then([&e] (shared_ptr msg) { + e.require_table_exists("ks", "tb6"); + BOOST_REQUIRE(e.local_db().find_schema("ks", "tb6")->get_compressor_params().get_compressor() == compressor::lz4); }); }); }