diff --git a/tests/mutation_source_test.cc b/tests/mutation_source_test.cc index 2a2548dee2..45e1271ec4 100644 --- a/tests/mutation_source_test.cc +++ b/tests/mutation_source_test.cc @@ -32,6 +32,7 @@ #include "mutation_rebuilder.hh" #include "random-utils.hh" #include "cql3/cql3_type.hh" +#include "make_random_string.hh" #include // partitions must be sorted by decorated key @@ -289,7 +290,7 @@ static void test_fast_forwarding_across_partitions_to_empty_range(populate_fn po for (auto&& key : keys) { mutation m(s, key); - sstring val(sstring::initialized_later(), 1024); + sstring val = make_random_string(1024); for (auto i : boost::irange(0u, ckeys_per_part)) { table.add_row(m, table.make_ckey(next_ckey + i), val); }