mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-09 00:13:31 +00:00
The first patch adds a nodetool-like capability to the cql-pytest framework. It is *not* meant to be used to test nodetool itself, but rather to give CQL tests the ability to use nodetool operations - currently only one operation - "nodetool flush". We try to use Scylla's REST API, if possible, and only fall back to using an external "nodetool" command when the REST API is not available - i.e., when testing Cassandra. The benefit of using the REST API is that we don't need to run the jmx server to test Scylla. The second patch is an example of using the new nodetool flush feature in a test that needs to flush data to reproduce a bug (which has already been fixed). Closes #8622 * github.com:scylladb/scylla: cql-pytest: reproducer for issue #8138 cql-pytest: add nodetool flush feature