tests: Fix liveness issue in mutation_test

This commit is contained in:
Tomasz Grabiec
2015-09-09 09:16:13 +02:00
parent a0c180ef49
commit b5845e96e5

View File

@@ -48,7 +48,7 @@ with_column_family(schema_ptr s, column_family::config cfg, Func func) {
auto cf = make_lw_shared<column_family>(s, cfg, column_family::no_commitlog(), *cm);
return func(*cf).then([cf, cm] {
return cf->stop();
}).finally([cf] {});
}).finally([cf, cm] {});
}
SEASTAR_TEST_CASE(test_mutation_is_applied) {