mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-01 12:36:56 +00:00
cql_query_test: Explicitly ignore a failed future
This avoids an abandoned future warning. Signed-off-by: Rafael Ávila de Espíndola <espindola@scylladb.com>
This commit is contained in:
@@ -1214,6 +1214,7 @@ SEASTAR_TEST_CASE(test_map_insert_update) {
|
||||
return e.execute_cql("update cf set map1 = {1003, 4003} where p1 = 'key1';");
|
||||
}).then_wrapped([&e](future<shared_ptr<cql_transport::messages::result_message>> f) {
|
||||
BOOST_REQUIRE(f.failed());
|
||||
f.ignore_ready_future();
|
||||
// overwrite whole map
|
||||
return e.execute_cql(
|
||||
"update cf set map1 = {1001: 5001, 1002: 5002, 1003: 5003} where p1 = 'key1';").discard_result();
|
||||
|
||||
Reference in New Issue
Block a user