mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-31 12:06:44 +00:00
When running test/cql-pytest, pytest prints one warning at the end: /home/nyh/scylla/test/cql-pytest/test_secondary_index.py:82: DeprecationWarning: ResultSet indexing support will be removed in 4.0. Consider using ResultSet.one() to get a single row. assert any([index_name in event.description for event in cql.execute(query, trace=True).get_query_trace().events]) So in this patch I do exactly what the warning recommends - use one(). Signed-off-by: Nadav Har'El <nyh@scylladb.com> Closes #11002